Re: [xsl] write out xml *with* tags for data island inside xsl??

Subject: Re: [xsl] write out xml *with* tags for data island inside xsl??
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Thu, 21 Apr 2005 17:55:25 +0200
On jeu, 2005-04-21 at 09:20 -0600, M. David Peterson wrote:
> The hack that willl allow xml data islands to work in both IE and
> Mozilla is to add a style attribute to the xml element with the
> display set to "none"...
> 
> so:
> 
> <xml id="dataisland" style="display:none">
> ....
> </xml>
> 
> coupled with:
> 
> document.getElementById('dataisland').innerHTML

That may be working but that's still not conform to the XML rec :-( !

Eric
-- 
Did you know it? Python has now a Relax NG (partial) implementation.
                                          http://advogato.org/proj/xvif/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------

Current Thread