Subject: Re: [xsl] Document() question From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Wed, 19 Sep 2007 09:26:41 +0200 |
I want to use the document() function to get the refurl and process that xml file:
<xsl:variable name="refurl"> <xsl:value-of select="document('../../test.xml')/items/item/@refurl"/> </xsl:variable>
I tried:
document(file:///a/b/c/index.xml)
*Warning*: XSLTProcessor::transformToXml() [function.XSLTProcessor-transformToXml <http://www.iqlicksoftcms.com/function.XSLTProcessor-transformToXml>]: I/O warning : failed to load external entity
document(file://a/b/c/index.xml)
*Warning*: XSLTProcessor::transformToXml() [function.XSLTProcessor-transformToXml <http://www.iqlicksoftcms.com/function.XSLTProcessor-transformToXml>]: remote host file access not supported
document(http://www.foobar.com/a/b/c/index.xml)
*Warning*: XSLTProcessor::transformToXml() [function.XSLTProcessor-transformToXml <http://www.iqlicksoftcms.com/function.XSLTProcessor-transformToXml>]: php_network_getaddresses: getaddrinfo failed:
HTH, cheers -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Document() question, Steve | Thread | Re: [xsl] Document() question, Wendell Piez |
Re: [xsl] Document() question, G. Ken Holman | Date | [xsl] Re: Fuzzy analyze-string, mozer |
Month |