how can I set a specific namespace for asString

10 views
Skip to first unread message

Christopher Schmidt

unread,
Jan 24, 2016, 10:44:32 AM1/24/16
to scales-xml
Hi all,

following code

val s = asString(myItem.tree)(SimpleSerializerFactory, treeSerializeable)

gives me valid xml. But I want to have something like:

<myItem Class="Base">...

but I want to have something like:

<myItem xmlns="http://foo.bar" Class="Base">...


How can I do that?
Reply all
Reply to author
Forward
0 new messages