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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -