XSLT with XML source that has a default namespace set to xmlns

后端 未结 3 1609
情话喂你
情话喂你 2020-11-21 23:46

I have an XML document with a default namespace indicated at the root. Something like this:


   

        
3条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 00:35

    If you use XSLT 2.0, specify xpath-default-namespace="http://www.example.com" in the stylesheet section.

提交回复
热议问题