Android xsl transformation null pointer, but working on desktop

后端 未结 1 1822
陌清茗
陌清茗 2021-01-16 18:07

I was working on xslt on android. The users.xml file:



  
    somename         


        
相关标签:
1条回答
  • 2021-01-16 18:36

    I did the following change in users.xsl :

    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    

    To

    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    

    And the problem was solved.

    But still don't know why this caused the error.

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