XSLT(19) document() Function to access external xml

来源:互联网 发布:sas分析软件 编辑:程序博客网 时间:2024/05/17 03:06

node-set document(object,node-set?)

object Required. Defines an URI to an external XML document

node-set Optional. Used to resolve relative URI

Example:

<xsl:value-of select="document('celsius.xml')/celsius/result[@value=$value]"/>



NOTE: WHEN use this function, make sure you are in the server, opening the web page on the computer will not work, AND no error msg is posted.

原创粉丝点击