cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Cordes <>
Subject Re: HTML in textNode
Date Thu, 27 Apr 2000 13:10:57 GMT
Hello Robin, 

Yes, your assumption is correct, I am seeing literately 

<p> blah
	<ul> <li> stuff </li>

on the webpage, after it is parsed.

In my text node I literally have the above nothing is escaped.
Any yes, everything is well formed.


On Thu, Apr 27, 2000 at 10:18:19AM +0100, Robin Green wrote:
> "Matthew Cordes" <> wrote:
> >If I have HTML stored in a text node, how do I have it evaluated by the xsl 
> >parser
> >and display it as markup? Right now the html code just appear on the page.  
> >It is
> >all well formed, so I really just need some way to tell Xalan to evaluate 
> >it.
> Let me see if I understand you correctly.
> Do you get like <b>some text</b> literally appearing instead of "some text"

> in bold?
> Okay, if so, you need to unescape the HTML. I don't think XSL is capable of 
> doing this. So you need to make the HTML unescaped earlier in the process. 
> And obviously, it needs to be compliant XML - e.g. <br/> not <br>, otherwise

> it will be rejected.
> The question is, why is it escaped in the first place?
> --
> Robin
> 270+ Open Source Java links! 
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message