Subject: Re: 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
http://andrewjwelch.com
|