Hi i am trying to set the properties for an XML document
this is my output xml
i am able to add and hard code message id and type in the main tag but i am not able to add any string to the child tag does any one came accross the same problem ,
else its not possible to do this in the child nodes
I’m not sure what you mean by “properties” in your XML. If you mean XML attributes, just add a string field to the child node in your document type that starts with “@”, populate it in a MAP step.
When you convert your document to a string, the attribute will be added correctly to the xmlstring. You can also add namespace declarations to xml strings by populating the “nsdecls” parameter. Take a look at the pub.xml:documentToXMLString documentation in the Built-In Services Guide PDF.