Re: [xsl] document() and attribute

Subject: Re: [xsl] document() and attribute
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 10 Dec 2002 23:55:03 +0100
True Name wrote:
<!-- b.xml  -->
<fellowlist>
 <fellows>
  <fellow id="a" url="atext.xml" />
...
<xsl:variable name="href">
<xsl:apply-templates select="document(b.xml')/fellow[@id=$ownerID]" />
The fellow elements are not immediate children of the root node.
Try
 document(b.xml')/fellowlist/fellows/fellow[@id=$ownerID]
instead.

There may be more problems, I didn't check.

J.Pietschmann


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



Current Thread