xslt - <xsl:variable> which is an xml file on intranet -
i using xslt process config file (which in xml format).
the processing requires inputs xml file hosted on intranet.
when copy file d:, can use <xsl:variable> read xml file below:
<xsl:variable name="vprods" select="document('file:///d:/packages.xml')" /> however, when specify intranet location http://abc.xyz/api/xyz.xml, below:
<xsl:variable name="vprods" select="document('http://abc.xyz/api/xyz.xml')" /> i exception "data @ root level invalid. line 1, position 1."
what correct way read file intranet?
thanks
Comments
Post a Comment