1

I am currently using xmlserialiser to output something like the following

<Node1>
   <Child2 attr1="abc">
   <Child3 attr2="xyz">
<Node1>

I have a string like this:

String stringAttribute = "testAttribute='testAttributeValue'";

is there a way using the xmlserialiser to insert the string into the nodes, e.g.

<Node1>
   <Child2 attr1="abc" testAttribute='testAttributeValue'>
   <Child3 attr2="xyz">
<Node1>

Thanks

Mark

foz1284
  • 343
  • 1
  • 4
  • 20

0 Answers0