|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: write out xml *with* tags for data island inside
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
will give you a copy of everything contained within the start and end
xml element.
Cheers :)
<M:D/>
On 4/21/05, Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx> wrote:
> Eric van der Vlist wrote:
>
> >Replacing <xml> by <_xml> would thus be more kosher...
> >
> >
>
> It's an MS thing AFAIK, called "data islands". I dont thing they work
> without xml being the element name :-/
>
> I have also recommended changing names starting with XML only to find
> out that the spec does not actually require it.
>
> Manos
>
>
--
<M:D/>
:: M. David Peterson ::
XML & XML Transformations, C#, .NET, and Functional Languages Specialist
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








