|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Selecting based on Element AND attrib value?
Hello Kris, At 04:06 PM 6/21/00 -0700, you wrote: >Thanks anyways, I found my answer after a bit... > >select="Clients/Client[@version='4.0.0' $and$ .='App1']" Yes, except what you have isn't XSL(T), but rather that-which-Microsoft-has-called-XSL, and won't work in most XSLT processors. (Shades of another thread.) A compliant form, with an extra little fail-safe, would be: select="Clients/Client[@version='4.0.0' and normalize-space(.)='App1']" If you are using the updated MSXML, this should work there too (as well as in XT, Saxon, LotusXSL, Oracle...). A good place for XSL questions is the list at http://www.mulberrytech.com/xsl/xsl-list Regards, Wendell Piez ====================================================================== Wendell Piez mailto:wapiez@m... Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
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
|
|||||||||

Cart








