You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by go...@osmosis.gr on 2004/01/09 18:57:33 UTC

IE's xml2xml.xsl stylesheet

hi 

when you try to view a xml file using IE without assign a custom xsl to 
this xml file 
thn IE generate a node view of the xml file giving the expand colapse 
ability. i think that IE use an internal .xsl file to do this.

know anyone where this .xsl can be found, or is out there any .xsl file 
tha do somenthing similar, or maybe exist something like this in cocoon 
distribution?

what i want to do is just to display the xml content of an xml fragment in 
a html page.


thnx 

--stavros



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: IE's xml2xml.xsl stylesheet

Posted by Lars Huttar <la...@sil.org>.
> On 09.01.2004 18:57, gounis@osmosis.gr wrote:
> > hi 
> > 
> > when you try to view a xml file using IE without assign a 
> custom xsl to 
> > this xml file 
> > thn IE generate a node view of the xml file giving the 
> expand colapse 
> > ability. i think that IE use an internal .xsl file to do this.
> > 
> > know anyone where this .xsl can be found, or is out there 
> any .xsl file 
> > tha do somenthing similar, or maybe exist something like 
> this in cocoon 
> > distribution?
> 
> Yes. IE: res://msxml3.dll/DEFAULTSS.xsl. Cocoon: 
> cocoon-2.1/src/webapp/stylesheets/system/xml2html.xslt.
> 
> IE's one is in old XSLT working draft status and so not standard 
> conform. Cocoon's one is the IE's one ported to W3C XSLT standard.
> 
> Joerg
> 

Bear in mind, however, that the above Cocoon stylesheet ignores
namespace declarations, so if you're trying to check the
correctness of your namespace declarations, the IE version will
serve you better (in IE of course).

You may also want to try Warren Hedley's xml_to_html.xsl,
which might be found under xml-pretty-printer at http://www.physiome.org.nz/

Lars


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: IE's xml2xml.xsl stylesheet

Posted by Joerg Heinicke <jo...@gmx.de>.
On 09.01.2004 18:57, gounis@osmosis.gr wrote:
> hi 
> 
> when you try to view a xml file using IE without assign a custom xsl to 
> this xml file 
> thn IE generate a node view of the xml file giving the expand colapse 
> ability. i think that IE use an internal .xsl file to do this.
> 
> know anyone where this .xsl can be found, or is out there any .xsl file 
> tha do somenthing similar, or maybe exist something like this in cocoon 
> distribution?

Yes. IE: res://msxml3.dll/DEFAULTSS.xsl. Cocoon: 
cocoon-2.1/src/webapp/stylesheets/system/xml2html.xslt.

IE's one is in old XSLT working draft status and so not standard 
conform. Cocoon's one is the IE's one ported to W3C XSLT standard.

Joerg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org