[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath question
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|