cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: XML on the browser
Date Wed, 30 Jul 2003 13:56:33 GMT
Just a question "on the side" - is it possible to do
mulitple (sequential) stylesheet processing in this way?
(as in a Cocoon pipeline).

>>> philipp.moser@chello.at 30/07/2003 03:51:55 >>>
Am Mittwoch, 30. Juli 2003 15:15 schrieb Galia Angelova:
> Hello,
> I have the following question:
> Is it possible to use XML and XSL  on the browser with cocoon?

Yes it is

> If "yes"  - are there any examples?

If you are familiar with XML you know the answer. In your xml file you have to 
add the following line, after the xml declaration, for clientside processing.

<?xml-stylesheet type="text/xsl" href="simple.xsl" ?>

or you maybe want to use a css-stylesheet to format the xml

<?xml-stylesheet type="text/css" href="simple.css" ?>

In the cocoon sitemap you just have to serialize xml with the correct mime 
type.

text/xml for the xml-files
text/xsl for the xsl files

I think :)

But I think you wont need cocoon if you do client side xml processing.

<snip />

cu Philipp
-- 
XML is the ASCII for the new millenium.
(Cocoon documentation)
--------------------------------------

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



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.


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


Mime
View raw message