xsl-list
[Top] [All Lists]

Re: escaping tags

2004-02-04 08:35:35
Hi Andrew,

But what if I WANTED to open the tag here without closing it? Is
there a way to escape the "<" and the ">"? I know you can use
"&lt;"/"&gt;" but these remain as "&lt;" / "&gt;" in the HTML.

I want to write HTML tags in a tamplate but WITHOUT closing them
exactly where I open them (I want to close them at a grater level of
recursion)

Are you sure? In most cases when people say that they want to do this,
it's because they're approaching their real problem in the "wrong"
way, probably because they're used to creating HTML using a procedural
programming language.

If you tell us what you want to do -- what XML you want to transform
into what HTML -- we'll show you how to approach it using XSLT. I can
virtually guarantee that it won't require writing opening and closing
tags in different places.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>