RE: [xsl] probs with document()

Subject: RE: [xsl] probs with document()
From: "James Carlyle" <james.carlyle@xxxxxxxxxxxx>
Date: Thu, 17 Oct 2002 12:16:16 +0100
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


Current Thread