Populate XML template-file from XPath Expressions?
问题 What would be the best way to populate (or generate) an XML template-file from a mapping of XPath expressions? The requirements are that we will need to start with a template (since this might contain information not otherwise captured in the XPath expressions). For example, a starting template might be: <s11:Envelope xmlns:s11='http://schemas.xmlsoap.org/soap/envelope/'> <ns1:create xmlns:ns1='http://predic8.com/wsdl/material/ArticleService/1/'> <article xmlns:ns1='http://predic8.com