How do I strip / add namespaces / prefixes in this XML / XSLT?
问题 Given the following XML: <?xml version="1.0" encoding="utf-8"?> <Store> <p1:Document xmlns:p1="urn:iso:std:iso:xyz"> <p1:Class> Hello <p1:Type> Now </p1:Type> </p1:Class> <!-- more elements --> </p1:Document> </Store> How would I write an XSLT to transform the Document element in the following way: <?xml version="1.0" encoding="utf-8"?> <Store> <Document xmlns="urn:iso:std:iso:123> <Class> Hello <Type> Now </Type> </Class> <!-- more elements --> </Document> </Store> As you can see, I need to