Subject: Re: parse malformed XML element From: Eric van der Vlist <vdv@xxxxxxxxxxxx> Date: Thu, 24 Aug 2000 18:06:11 +0200 |
Bertrand wrote: > > I have the following XML: > > <p> text1 <br/> > text2 <br/> > text3 <br/> > . > . > . > <p/> I assume you meant </p> ;=) > I want get only the text1 or text2 or text3 or ... > > if i use <xsl:value-of select="p" /> i get text1+text2+text3+... > if i use <xsl:value-of select="p/text()" /> i get only text1. > > How can i do ? What about p/text()[1], p/text()[2], p/text()[3] ? Eric -- ------------------------------------------------------------------------ Eric van der Vlist Dyomedea http://dyomedea.com http://xmlfr.org http://4xt.org http://ducotede.com ------------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: parse malformed XML element, Wendell Piez | Thread | RE: parse malformed XML element, Chris Bayes |
PDF, Tania Barros | Date | Re: Problems executing Oracle XSQL , Steve Muench |
Month |