Subject: RE: Testing/searching for several elements using xsl From: Kay Michael <Michael.Kay@xxxxxxx> Date: Thu, 15 Apr 1999 18:38:37 +0100 |
> > Sample xml-doc [abbreviated]: > > <cd_doc> > <entries> > <entry no="1" .../> > ... lots of more entries > </entries> > </cd_doc> > > I tried with a stylesheet like this : > [...] > <xsl:template match="cd_doc"> > <HTML> > <BODY> > <h2>Result of search</h2> > <xsl:apply-templates select="entry"/> > </BODY> > </HTML> > </xsl:template> >[...] You should write <xsl:apply-templates select="entries/entry"/> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Testing/searching for several e, Rick Geimer | Thread | Re: Problem in referencing DHTML 'd, Guy_Murphy |
Re: Building a new tree, Chris Maden | Date | Re: apache,perl,xml,xsl, Matthew MacKenzie |
Month |