Matching elements with namespace prefix in XSLT

后端 未结 3 538
星月不相逢
星月不相逢 2020-12-19 00:52

This is my xml input.


  

        
3条回答
  •  一向
    一向 (楼主)
    2020-12-19 01:29

    XSLT understands the namespaces QNames which are defined in input XML.

    In addition to the above answer we can give any name to our xsl namespace.

    Input xml has definition as xmlns:dc="http://purl.org/dc/elements/1.1/" and elements are defines as dc prefix

    You can define a stylesheet below :

    
    
    
    Entering package. Selected Language.
    
    

提交回复
热议问题