XSLT Transform multiple files from subdirectory

前端 未结 2 1265
天涯浪人
天涯浪人 2021-02-06 00:53

I have created a XSLT file that can transform a single XML file. However, I have several hundred directories with multiple xml files. Is there a way in XSLT to transform all the

2条回答
  •  独厮守ぢ
    2021-02-06 01:17

    I just wanted to add a lightweight version of Dimitre's excellent answer. If you have documents (root node) sitting in a directory, and a working XSLT program for , simply make your top-level template like this:

    
        
    
    

    That's assuming you want the URL as a parameter, , specified on the command line.

提交回复
热议问题