[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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: "M. David Peterson" <m.david.x2x2x@xxxxxxxxx>
Date: Thu, 21 Apr 2005 10:11:48 -0600

Oh, I would never claim conformance for any of the hacks I might
use... in fact dont hack and conformance tend to repel when they get
anywhere near each other? :D

Of course the focus has got to be conformance when at all possible,
hack when there are simply no other known options and you need it to
work today or at very least sometime before there is likely to be
changes in the spec that will fix the problem you are having to use
the hack for.

On 4/21/05, Eric van der Vlist <vdv@xxxxxxxxxxxx> wrote:
> 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
> ------------------------------------------------------------------------
>
>


--
<M:D/>

:: M. David Peterson ::
XML & XML Transformations, C#, .NET, and Functional Languages Specialist


Current Thread
Keywords