[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Selecting all elements which have an attribute that m

Subject: Selecting all elements which have an attribute that matches a given pattern
From: "Etheridge, Stephen" <stephen.etheridge@xxxxxxxxxx>
Date: Wed, 18 Aug 2010 08:57:36 +0100
 Selecting all elements which have an attribute that  m
Hi all and apologies if this has been dealt with previously, I searched
the archives and FAQ but did not find anything that was close to my
problem:

I have an XML file (a schema in fact) that is many thousands of lines
long and I need to edit it (i.e transform it).  There are numerous
elements of type <xs:element> all of which have a "name" attribute.
Some of those name attributes end with the string "List", e.g.
"MilkTypeList".  For those elements, I want to apply a template to add
an additional <xs:element>.  I am having great trouble crafting the
correct "match" for my <xsl:template>.  I have tried contains() and
matches() but my editor (Oxygen) states that those cannot be used as a
pattern and my reading supports that.  Can anyone help?

Thanks

Stephen



Please help Logica to respect the environment by not printing this email  /
Pour contribuer comme Logica au respect de l'environnement, merci de ne pas
imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie
so Logica dabei, die Umwelt zu sch|tzen. /  Por favor ajude a Logica a
respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.