documentToXMLString - element with attribute and value

Hi,

how can I get this structure based on a document type?

elementvalue

I am trying a document type like that:

DT
@attr
elementvalue

But of course elementvalue creates an XML element itself.

Thanks for help.

Regards,
Michel

Michel,

If you are looking for the document structure that would get converted to the specified XML string then this is how it should like. See attachment.

A quick way you can find out this is to do a reverse conversion from the XMLtoDoc.

Hope this helps,

cheers,
Suren
Capture.JPG