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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to