Re: XSL :: String Search

These questions are better suited to an xslt mailing list, this is xsl
formatting objects.
Try this

<xsl:value-of select="books/book/text()" />

Colin

----- Original Message ----- 
From: "karthikeyan.balasubramanian"
<karthikeyan.balasubramanian@aspiresys.com>
To: <www-xsl-fo@w3.org>
Sent: Monday, October 27, 2003 12:15 PM
Subject: XSL :: String Search


>
> Hi,
>
>   I have an xml like this:
>
>   <books>
>         <book>XSLT Reference
>             <author>Micheal Kay</author>
>             <price>$20.00</price>
>         </book>
>   </books>
>
>   In my xsl if i put
>
> <xsl:value-of select="book" />
>
>   I get all the items(including author and price) but I just want
>   [ XSLT Reference ]
>
>   I have no control over this xml so I can't make a tag for
> [ book name :: XSLT Reference ]
>
>   I can't use substring-before($sting, $string-search) cause
> I dont know what is the delimiter.
>
>   Any ideas, clues, pointers :)
>
>   Have a great day.
>
> Karthikeyan B
>
>
>
>
>

Received on Monday, 27 October 2003 05:45:08 UTC