[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to used HTML tags with XML/XSL

Subject: Re: How to used HTML tags with XML/XSL
From: Ahmed El-dawy <aseldawy@xxxxxxxxx>
Date: Fri, 14 Jan 2005 20:11:41 +0200
how to used proactive
I got it!
Some templates were applied using the copy template (basicHTML.xsl)
because they have no template match at the other file
(tabbedNotebook.xsl). I made this because, for some tags, I just
wanted their CDATA values to be copied (which is the default). I have
made simple templates to copy their CDATA and it worked perfectly.

Thanks alot for your help.

On Fri, 14 Jan 2005 17:20:55 GMT, David Carlisle <davidc@xxxxxxxxx> wrote:
> 
> 
> > 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
> ________________________________________________________________________
> 
> 


-- 
Regards,
Ahmed Saad

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.