Apply XSLT to an XML file

前端 未结 7 2048
栀梦
栀梦 2020-12-29 08:20

I realise that I will probably regret asking about this for the rest of my life, but... Is there some way of applying XSLT to an XML file without the XML file havin

相关标签:
7条回答
  • 2020-12-29 09:07

    Why of course! :)

    You simply need to invoke your desired XSLT processor supplying (at a minimum) the XSLT and the XML file to use. In fact internally this is what applications like Internet Explorer do explicitly when they detect that an XML document has referenced an XSLT file.

    How you do this will depend on your environment, for example there are command line XSLT processors and you can also apply an XSLT in most programming languages, e.g. Applying an XSLT using C#.

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