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