[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XPath problem: figured it out.
With much thanks to everyone who offered me help (and with the aid of Mr. Alex Milowski, a god among men), I finally got the answer to my problem. It looks like this: <xsl:if test="not(entry/title[starts-with(.,'Q')] or entry/episode[starts-with(., 'Q')])"> <xsl:call-template name="insert.text"/> </xsl:if> I had forgotten that without the predicate filter, the starts-with was returning all the entry/titles and entry/episodes node -concatenated-. I think I shall go and bury my face in shame, now. Thanks again for all your help, folks! --->Ben XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|