Android: Convert xml using xslt

前端 未结 2 1829
慢半拍i
慢半拍i 2020-12-24 04:06

I want to transform some xml using an xsl-file and output the result somehow (I\'m using Android Api Level 8).

My current activity looks like this, but the transform

相关标签:
2条回答
  • 2020-12-24 04:32

    I just found out what the problem is: I put the XML/XSLT files in res/xml not in res/raw with the result of mangled XML format.

    Much ado about nothing :(

    0 讨论(0)
  • 2020-12-24 04:34

    There really isn't a lot of room for error in such a small piece of code. My guess is that the XML or XSL is to blame after all. There's probably a tiny typo in it. Can you attach the XML/XSLT as well?

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