What's the difference between XSL Pattern and XPath in syntax?

前端 未结 4 1824
青春惊慌失措
青春惊慌失措 2020-12-06 07:13

I\'m updating codes to use MSXML6.0 from MSXML3.0. However, I noticed that, for MSXML3.0, the default \"SelectionLanguage\" is \"XSL Pattern\", while MSXML6.0 only support X

4条回答
  •  死守一世寂寞
    2020-12-06 07:40

    XPath, in my experience, is much easier to get your head around. I avoid XSL like the plague if I can. But you are right, the syntax is very different, so if you want to switch from XSL to XPath you have some work ahead of you. I cannot explain the differences easily, but this tutorial should give you some idea of what XPath is about:

    http://www.w3schools.com/XPath/xpath_examples.asp

提交回复
热议问题