Using XSLT as an XML pre-processor

后端 未结 2 1886
春和景丽
春和景丽 2021-01-21 16:41

This is my first time doing anything with XSLT, or XML really, so please excuse me. I\'ve found XSLT web documentation is really terse.

I have an XML file that I want to

2条回答
  •  青春惊慌失措
    2021-01-21 16:59

    You're doing really well for someone who's only just beginning with XSLT and XML.

    This isn't an answer to your question, but I just wanted to say that this might be a safer "copy by default" template:

    
        
    
    

    Yours works by grace of a certain default built-in template. But you might get strange behaviour regarding text nodes (or other things that aren't elements) when you add more templates, since the default has a low priority.

提交回复
热议问题