Re: [xsl] escaping tags

Subject: Re: [xsl] escaping tags
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Wed, 4 Feb 2004 15:35:35 +0000
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.



Jeni Tennison

 XSL-List info and archive:

Current Thread