Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
#Automation
Hi All,
How to define nsDecls in documentToXMLString service for the namespace which does not have prefix.
Ex: We have namespace like
xmlns:ns6=“http://xyz.org/xml/Common” xmlns:ns5=“http://xyz.org/xml/Common/v1-5” xmlns=“http://xyz.org/xml/PO/v1-2”
For the above namespace declaration will be ns6="http://xyz.org/xml/Common ns5="http://xyz.org/xml/Common/v1-5
What would be for third one.[xmlns=“http://xyz.org/xml/PO/v1-2”] which has blank/no prefix
Tried adding blank prefix, but no luck.
How can I achieve this. Please advise
Thanks, Monica
Hi Monica,
is it possible to add an @xmlns-element to the root element in the document?
Please have a look at the IS Built-In-Services Reference for details.
Regards, Holger