[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 17:56:49 +0200
html tags in xml
I write XML and use XSL to transform it to HTML. All what I need is
that when I write in XML file the tag <br/> or other HTML tags like
<font> it is written at the output file (HTML file) exactly as I write
it.
When I specify it explicitly I write a statement in the XSL file like this:

<xsl:template match="br">
<br/>
</xsl:template>

It gets much worse when there are parameters or sub tags (like <table>
<tr> <td>)

I think it is clear now


On Fri, 14 Jan 2005 15:37:06 +0000, Antsnio Mota <amsmota@xxxxxxxxx> wrote:
> You need to explain that better: What do you mean by "I can't use
> normal HTML tags (like <br>)" or  "way to use all HTML tags without
> specifying them explicitly"...
>
> What is the outpout method of ypur XSL?
>
> Maybe if you post some example will help...
>
> On Fri, 14 Jan 2005 09:25:25 +0200, Ahmed El-dawy <aseldawy@xxxxxxxxx>
wrote:
> > Hello,
> >  I build my home page using XML and write XSL file to transform it to
> > HTML. The problem is that I can't use normal HTML tags (like <br>)
> > unless specifying it explicitly in the XSL file I make. This will be
> > hard with tags like <table>. Is there a way to use all HTML tags without
> > specifying them explicitly.
> >
> > --
> > Regards,
> > Ahmed Saad
>
>


--
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.