Subject: [xsl] replacing < > in template From: "Mattias Konradsson" <preacher@xxxxxxxxxxx> Date: Sat, 18 May 2002 05:53:42 +0200 |
Ok, this one is funky, doubt it can be done but it doesn't hurt asking :) Say that I have some XML like this <example> <menu id="t1" pageid="menu1" > <submenu id="t3" label="File"> <menuitem id="t4" label="Quit" doFunction="window.close()" /> </submenu> </menu> </example> What I'd want is that all the code withing example should be shown, so the tags needs to be replaced with entities, my question is if you in xslt can do a template for example so that all tags within it regardless of whether they have templates elsewhere get's their "<" ,">", "&" etc replaced by html entities? Possible? best regards --- Mattias Konradsson XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] general question, Chuck White | Thread | Re: [xsl] replacing < > in templat, Joerg Heinicke |
[xsl] <xsl:for-each select question, dmitri kerievsky | Date | RE: [xsl] new to XSl/variable usage, Stuart Celarier |
Month |