xsl-list
[Top] [All Lists]

Re: document() and attribute

2002-12-10 15:55:03
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[(_at_)id=$ownerID]" />
The fellow elements are not immediate children of the root node.
Try
 document(b.xml')/fellowlist/fellows/fellow[(_at_)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



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