How to transform XML with XSL using Java

后端 未结 4 1146
面向向阳花
面向向阳花 2021-01-21 15:54

I am currently using the standard javax.xml.transform library to transform my XML to CSV using XSL. My XSL file is large - at around 950 lines. My XML files can be quite large

4条回答
  •  生来不讨喜
    2021-01-21 16:49

    I came across a post on the net that mentioned apache XALAN. So I added the jars to my project. Everything has started working since even though I do not directly reference any XALAN classes in my code. As far as I can tell it still should use the jaxax.xml classes.

    Not too sure what is happening there. But it is working.

提交回复
热议问题