[Migrated content. Thread originally posted on 12 February 2008]
We are attempting to use C$XML to parse a string from an external source. The string parsing works fine but we also want to update the XML string to return it to the external application. I can add a child and/or sibling and get a valid return-code/handle. However, as this is performed in memory, I cannot access the string to return it to the external application. The doco for C$XML states that a CXML-WRITE-FILE must be executed to commit any modifications applied using C$XML add or modify functions when performing a PARSE-FILE. Is there an equivalent for PARSE-STRING manipulation? Alterantively, is there a way to access the address of the memory area being referred to by the handle which C$XML references? How can I get the pointer/memory address of an area referred to by a handle? Can I use C$MEMCPY to retrieve that area?Thanks in advance.
Scott



