[Home] [By Thread] [By Date] [Recent Entries]
Etheridge, Stephen wrote:
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?
-- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|

Cart



