W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2003

XSL :: String Search

From: karthikeyan.balasubramanian <karthikeyan.balasubramanian@aspiresys.com>
Date: Mon, 27 Oct 2003 15:45:58 +0530
Message-ID: <005e01c39c73$52583370$2c00a8c0@Aspiresys.com>
To: <www-xsl-fo@w3.org>

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:17:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT