[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] priority of key patterns

Subject: Re: [xsl] priority of key patterns
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 14 Nov 2012 10:44:56 +0000

>> <xsl:template match="EmployeeCategory | PersonName | FormerlyKnown">
>>   <Name>
> I cut the examples off with .... too early. Here are a few more
> illustrating the more general case for which that solution will not
> work.
>  <ren:element from="Directors" to="Names"/>
>  <ren:element from="ParentCompany" to="Names"/>
>  <ren:element from="LegalStatusAdditional" to="AdditionalInfo"/>
>  <ren:element from="EmployeeChanges" to="Changes"/>

...just add more templates!?!

Andrew Welch

Current Thread