Create xslt files programmatically

前端 未结 3 1955
不知归路
不知归路 2020-12-11 10:53

I know that I can create xml files programmatically by using DOM api in java like the following:

DocumentBuilderFactory do         


        
3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-11 11:32

    You can create an XSLT the same way you create an XML file, since XSLTs are XML files.

    However, if you have to deal with XML/XSLT transformations a lot, Apache Cocoon 3 has a very lightweight XML/XSLT pipeline system to use as a library instead of dealing with all XML dom stuff and XSLT transformations manually.

提交回复
热议问题