This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XPath question
- To: xsl-list at mulberrytech dot com
- Subject: Re: XPath question
- From: Matt Sergeant <matt at sergeant dot org>
- Date: Thu, 11 May 2000 13:52:41 +0100 (BST)
- Reply-To: xsl-list at mulberrytech dot com
On Thu, 11 May 2000, [iso-8859-1] Sydney wrote:
> Hi
>
> <div type="introduction">
> <head>Introduction</head>
> <pb/>
>
> <div type="partie">
> <p>Test
> </p>
> <pb/>
> </div>
>
> </div>
>
> <xsl:template div[@type='introduction']">
> <xsl:for-each select="./*/pb">
> Find pb
> </xsl:for-each>
> </xsl:template>
>
> Why xt find only one pb.
Because you specified only div's with the attribute type="introduction".
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list