xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drasko Kokic <drasko_ko...@yahoo.com>
Subject Re: AW: Associating several stylesheets with one XML document
Date Sat, 30 Sep 2000 21:21:33 GMT
What exactly do you mean?

The idea in Cocoon is very simple:  your browser get
recognised and classified under the corresponding
"media" tag.  In your XML files you specify which XLS
should be used for a particular media.

HTH
Drasko

--- Priya Pinto <itfresher@rediffmail.com> wrote:
> Is the same possible with JSP and XML?
> 
> Priya
> 
> ------------- Original Message --------------
> "Dmitri Romanovski"
> <Dmitri.Romanovski@wisoftware.de> wrote:
> To:<general@xml.apache.org>
> From:"Dmitri Romanovski"
> <Dmitri.Romanovski@wisoftware.de>
> Date:Sat, 30 Sep 2000 15:34:52 +0200
> Subject: AW: Associating several stylesheets with
> one XML document
> 
> Hi,
> 
> I#ve tried out the method described in Cocoon
> documentation and it works.
> Just put different PIs in your XML document
> corresponding to different
> browsers or even contexts. Your should define this
> configurations in your
> Cocoon installation ( where the browsers are
> configured ) and then put th=
> e
> symbolic name in PI's media-parameter
> <?xml version=3D"1.0"?>
> <?xml-stylesheet href=3D"1.xsl" type=3D"text/xsl"?> 
> -- for default handl=
> ing
> <?xml-stylesheet href=3D"2.xsl" type=3D"text/xsl"
> media=3D"myconf"?>  -- =
> for
> "myconf" only
> 
> Try it,
> 
> Dmitri.
> 
> -----Urspr=FCngliche Nachricht-----
> Von: Richard Korthuis
> [mailto:R.Korthuis@telecats.nl]
> Gesendet: Freitag, 29. September 2000 16:37
> An: jjc@jclark.com
> Cc: tbray@textuality.com; ndw@nwalsh.com;
> stefano@apache.org;
> jeanpa@microsoft.com; cmsmcq@uic.edu; peter@xml.com;
> general@xml.apache.org; twl@apache.org
> Betreff: Associating several stylesheets with one
> XML document
> 
> 
> Hello,
> 
> I have a question: I would like to access a XML
> document using different
> stylesheets (XSL). For example one time I would like
> to use one.xsl but s=
> ome
> other time I would like to use two.xsl on the same
> XML document. Is this
> possible? If so, how can I tell the
> server/XMLdocument which XSL it shoul=
> d
> use?
> I am using:
> 	Apache Web server 1.3.12
> 	Cocoon 1.8
> I am looking forward to hearing from you at your
> earliest convenience.
> 
> Yours sincerely,
> 
> Richard Korthuis
> TeleCats BV
> The Netherlands
> 
>
---------------------------------------------------------------------
> In case of troubles, e-mail:    
> webmaster@xml.apache.org
> To unsubscribe, e-mail:         
> general-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> general-help@xml.apache.org
> 
> 
>
---------------------------------------------------------------------
> In case of troubles, e-mail:    
> webmaster@xml.apache.org
> To unsubscribe, e-mail:         
> general-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> general-help@xml.apache.org
> 
> 
> _________________________________________________
> Get Your Free Email At, http://www.rediffmail.com
> 
> For fabulous shopping deals visit:
> http://www.rediff.co.in/shopping/index.html
> 
> 
> 
> 
>
---------------------------------------------------------------------
> In case of troubles, e-mail:    
> webmaster@xml.apache.org
> To unsubscribe, e-mail:         
> general-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> general-help@xml.apache.org
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

Mime
View raw message