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

Re: [xsl] How to used HTML tags with XML/XSL


Subject: Re: [xsl] How to used HTML tags with XML/XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 14 Jan 2005 17:20:55 GMT

> But it didn't work as I want.

but how did it work:-)

If the template to copy html didn't get applied then some other template
must have been applied, if you tell us which one that was, and which
stylesheet file it was in, we can suggest how to change things so it is
applied.

conversely if the copy templae is applied to often and is overriding
some other template that you want to use on non-html elements, again say
which template is being overwridden and which stylesheet it is in.

You have
<xsl:import href="basicHTML.xsl"/>
<xsl:include href="tabbedNotebook.xsl"/>


the xsl:include is basically the same as just putting all the included
templates into your top level xsl, and all these templates should then
have higher imprt precedence than the templates for basicHTML.xsl.
which is what you want. 

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords
xsl