XSLT 1.0 to move namespace to child node
问题 I only have access to xpath 1.0 commands and functions. I need to move the namespace declaration from the root node to a child node where that namespace starts to be used. Source XML: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <Accounts xmlns:test="http:example.com/test1"> <ParentAccount>10113146</ParentAccount> <test1>test1</test1> <test2>test2</test2> <test:Siblings> <test:CustomerNumber>10113146</test:CustomerNumber> <test:CustomerNumber>120051520</test:CustomerNumber> </test