How do I check for the existence of an external file with XSL?

前端 未结 10 773
忘掉有多难
忘掉有多难 2020-12-16 15:23

I\'ve found a lot of examples that reference Java and C for this, but how do I, or can I, check for the existence of an external file with XSL.

First, I realize that

10条回答
  •  南方客
    南方客 (楼主)
    2020-12-16 15:36

    A proposed File Module EXPath specification would support file-system functions such as this (file:exists() in the spec) as standard XPath extension functions. There isn't yet an XSLT implementation for this, but its worth watching.

提交回复
热议问题