[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: parse malformed XML element

Subject: RE: parse malformed XML element
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Thu, 24 Aug 2000 22:27:06 +0100
malformed xml
Or maybe you want
<xsl:template match="p/text()">
	<xsl:value-of select="." />
</xsl:template>
<xsl:template match="br">
	<xsl:text>
</xsl:text>
</xsl:template>

or maybe not

Ciao Chris

XML/XSL Portal 
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Bertrand
>Sent: 24 August 2000 16:30
>To: 'Xsl-List
>Subject: parse malformed XML element
>
>
>I have the following XML:
>
><p> text1  <br/>
>    text2  <br/>
>    text3  <br/>
>     .
>     .
>     .
><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 ?
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.