xsl-list
[Top] [All Lists]

RE: Calling templates based on node contents

2004-08-18 04:55:11

It would be a lot easier if you said what output you are trying to
generate (it's hard to guess from the xslt that you posted)

very simple HTML...

from the <xsl:template match="." mode="defaultField_A"> template:
<a class="defaultField_A" href="Default url text -- please update">Default text 
-- please update</a>

and from the <xsl:template match="." mode="defaultField_default"> template:
<span class="default_defaultField">Default text -- please update</span>

other templates produce lists, flash objects, image tags etc... i won't post 
them all up though as they are spanned over 12 includes...




This e-mail and any attached files are for the exclusive use of the addressee 
and may contain privileged and/or confidential information. If you receive this 
e-mail in error you should not disclose the contents to any other person nor 
take copies but should delete it and telephone us immediately on +44(0)20 7557 
6100.

TEQUILA\ London Limited does not make any warranty as to the accuracy or 
completeness of this e-mail and we accept no liability for its content or use. 
Any opinions expressed in this e-mail are those of the author and do not 
necessarily reflect the opinions of TEQUILA\ London Limited.

TEQUILA\ London Limited operates within the parameters set by the Data 
Protection Act 1998 with regard to the use of personal information including 
e-mail addresses. We accept no liability for the forwarding of this e-mail to 
other parties that may result in unsolicited e-mails being received by those 
whose email addresses appear in this e-mail.