documentToXmlString: How to represent Node with both attribute and value

Hi,

I am trying to generate an XML String of the form:

../home/.../.../source.txt ../home/.../.../dest.txt

My question is how to represent an XML node containing both attribute and a value in an IS Doc type?

Here is my current representation of IS Doc type having only attributes, but no value:

root - Document
– sourcefile - Document (cannot make this as string, as then it cannot have child fields)
---- @method ← String (attribute)
– destfile - Document (cannot make this as string, as then it cannot have child fields)
---- @overwrite ← String (attribute)

I hope it is clear what I want to achieve.

Thanks.

Use *body for the element content.

SourceFile (document)
@method
…*body

thanks reamon. It worked.
Didn’t know it was so simple.