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 > "<"/">" but these remain as "<" / ">" 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] escaping tags, David Carlisle | Thread | RE: [xsl] escaping tags, Andrew Welch |
Re: [xsl] template matching, David Carlisle | Date | Re: [xsl] Get all the node as text, Lionel Crine |
Month |