[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: msxml: filtering by wildcard values
No - later WDs have this functionality, but the MSXML parser does not do it. Microsoft's parser (sort of) complies with the December 1998 working draft of XSL. They do not seem to be in a hurry to release an updated version, despite the fact that we are now on the third draft since then. I've heard rumours that they are not going to release the next version until XSL is a fixed standard. You *can* fudge the "starts-with" function by using $gte$ and $lt$ in your pattern string, but that involves knowing the order in which letters/ symbols come. For example: <xsl:if test="A_TAG[. $lt$ "b" $and$ . $gte$ "a"]"> would return true if the value of A_TAG started with the (lower-case) letter "a". I gave up trying to make the MS version do "contains" - there doesn't seem to be any way of doing it at all. Hope this helps (though I doubt it *grin*) Ben Robb > -----Original Message----- > From: Mattias Konradsson [mailto:preacher@xxxxxxxxxxx] > Sent: 08 October 1999 04:08 > To: XSL mailList > Subject: msxml: filtering by wildcard values > > > Seems that you can use filter patterns to match almost any conceivable > elementname, but can you can do the same for the actual > values, like can I > filter for an element that *contains* a certain word? > > MSXML btw. > > thanks for any help on this, interesting if I could implement > a real search > function with nothing but xml and xsl :) > > > -------------------- > Mattias Konradsson > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > 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
|