OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Selecting based on Element AND attrib value?

[ Lists Home | Date Index | Thread Index ]
  • From: Wendell Piez <wapiez@mulberrytech.com>
  • To: kgoss@interactcommerce.com, xml-dev@xml.org
  • Date: Thu, 22 Jun 2000 11:28:58 +0100

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@mulberrytech.com
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@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS