XSLT transform XML with default namespace without adding prefix?

前端 未结 3 1401
走了就别回头了
走了就别回头了 2021-02-15 17:31

I am trying to transform an XML file with the following namespace, but couldn\'t find out a way to make it working with the default namespace without adding a prefix to the outp

3条回答
  •  既然无缘
    2021-02-15 18:20

    The key is to use the exclude-result-prefixes attribute on the stylesheet element.

    There are some good explanations in this section of the XSLT FAQ.

提交回复
热议问题