On Tue, 2009-10-06 at 15:10 +0100, Matthew Croud wrote:

> Hi,
> Is there a way to store HTML in an XML file,
> Access that node using XLST, and have it display as rendered html ?
> 
> So far my attempts either return the text equivalent of the html, with  
> nothing rendered.
> 
> Cheers,
> Matt.
> 
> 
> 
> 
> 
> 
> 
> 


XHTML is just XML, so yes you can. I think the XSLT you're looking for
would be something like <xls:apply-templates/> which should just mirror
what XML you have in your source document. So if the XML it is matching
and outputting is the HTML, it will show as HTML.

Thanks,
Ash
http://www.ashleysheridan.co.uk


Reply via email to