xsl-list
[Top] [All Lists]

Re: [xsl] priority of key patterns

2012-11-14 04:45:09
<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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--