Problem with XSLT where source xml document uses default namespace

前端 未结 1 512
离开以前
离开以前 2021-01-18 08:43

Have a source xml document that uses namespace containing prefixes and a default namespace. When I transform it using a XSLT doc, the resulting translated xml document is i

相关标签:
1条回答
  • 2021-01-18 08:59

    Specify same default namespace in XSLT document if your selectors do not use prefixes, or use prefixes for all selectors in the XSLT, but don't forget to bind them to the default namespace of your XML document.

    0 讨论(0)
提交回复
热议问题