How to Generate an XML File from a set of XPath Expressions?

dirtyd

New Member
I want to be able to generate a complete XML file, given a set of XPath mappings.The input could specified in two mappings: (1) One which lists the XPath expressions and values; and (2) the other which defines the appropriate namespaces.\[code\]/create/article[1]/id => 1/create/article[1]/description => bar/create/article[1]/name[1] => foo/create/article[1]/price[1]/amount => 00.00/create/article[1]/price[1]/currency => USD/create/article[2]/id => 2/create/article[2]/description => some name/create/article[2]/name[1] => some description/create/article[2]/price[1]/amount => 00.01/create/article[2]/price[1]/currency => USD\[/code\]For namespaces:\[code\]/create => xmlns:ns1='http://predic8.com/wsdl/material/ArticleService/1//create/article => xmlns:ns1='http://predic8.com/material/1/
 
Back
Top