You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Matthias Brunner <mb...@blumenstrasse.vol.at> on 2000/05/31 13:26:02 UTC
Is this feature implemented?
Sorry for bothering you developers with this but I have sent this
message twice to the users ML without getting a response.
Is "intelligent" transforming implemented in some way?
My example:
How do I exclude the agent "explorer" from transforming the XML
document? Just for trying client-side DOM-code.
Unfortunetaly, this doesn't seem to work:
<?cocoon-process type="xslt"?>
<?xml-stylesheet type="text/xsl" href="/xml-inc/xsl/lgbl-2html.xsl"?>
<?xml-stylesheet type="text/css" href="/xml-inc/css/lgbl.css"
media="explorer"?>
My proposal:
Something like <?cocoon-process type="xslt" media="!explorer"?>
Thanks in advance!
--
Matthias Brunner <mb...@blumenstrasse.vol.at>
KeyID 1024/5B89D501 (for info see http://www.gnupg.org)
FP 7862 32B3 3B75 292A F76F 5042 8587 21AB 5B89 D501
Send a mail with subject "GET KEY" to obtain this key.
Re: Is this feature implemented?
Posted by Hans Ulrich Niedermann <ni...@isd.uni-stuttgart.de>.
Matthias Brunner <mb...@blumenstrasse.vol.at> writes:
> How do I exclude the agent "explorer" from transforming the XML
> document? Just for trying client-side DOM-code.
>
> Unfortunetaly, this doesn't seem to work:
>
> <?cocoon-process type="xslt"?>
> <?xml-stylesheet type="text/xsl" href="/xml-inc/xsl/lgbl-2html.xsl"?>
> <?xml-stylesheet type="text/css" href="/xml-inc/css/lgbl.css"
> media="explorer"?>>
> My proposal:
> Something like <?cocoon-process type="xslt" media="!explorer"?>
Why not use
<?cocoon-process type="xslt"?>
<?xml-stylesheet type="text/xsl" href="exploder.xsl" media="exploder"?>
<?xml-stylesheet type="text/xsl" href="stuff2html.xsl"?>
with a exploder.xsl that copies all elements identically but adds
<?xml-stylesheet type="text/css" href="xmlstuff.css"?>
before copying the root element.
Uli