[xsd-users] How to clone/copy an XML message and add it to a another message using anyType

Laura E Fowler Laura_E_Fowler at raytheon.com
Thu Mar 5 09:13:27 EST 2009


I'm using C++/Tree,  XSD 3.1.0 and Xerces 2.6.0. 

We are using XML messages to command our system. I need to grab a copy of 
the received command  and return a copy of it in a status message. The 
command copy is defined as anyType in the schema. 

I patterned my command parsing after the multiroot example using 
xml_schema::type as the base.

I need to save the copy of the command until the status message is 
formatted at a later time.

What is the best way to save a copy of the received command?

Thanks,
Laura Fowler



 


More information about the xsd-users mailing list