xsl-list
[Top] [All Lists]

RE: probs with document()

2002-10-17 04:16:16
Hi

<xsl:variable name="details" select="document('details.xml')" />

External details.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<XDoc>
<firstimage>/kuvat/unproc.jpg</firstimage>
<XDoc>

<img src="{$details/firstimage}" />

Looks like XDoc got lost. Try

<xsl:variable name="details" select="document('details.xml')/XDoc/node()" />


Kind regards,

James Carlyle


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>