How do you output the current element path in XSLT?

前端 未结 5 836
名媛妹妹
名媛妹妹 2020-11-30 02:18

In XSLT, is there a way to determine where you are in an XML document when processing an element?

Example: Given the following XML Doc Fragment...

&l         


        
5条回答
  •  春和景丽
    2020-11-30 02:22

    You can use the ancestor XPath Axes to walk all parent, and grandparents.

    ...
    

提交回复
热议问题