xsl-list
[Top] [All Lists]

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

2005-04-21 08:55:25
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
------------------------------------------------------------------------


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--