[Home] [By Thread] [By Date] [Recent Entries]

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

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member