cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernhard Huber" <berni_hu...@a1.net>
Subject Re: Using <?xml-stylesheet?> tag with Cocoon (newbie question)
Date Sat, 29 Dec 2001 05:53:47 GMT
hi,

reading docs about Cocoon2.0 the xml-processing instruction were
abandoned, so
by design choice

<?xml-stylesheet?> was replaced by the sitemap/pipeline/transform
definitions.
In Cocoon1 xml-stylesheet was by design the way to select the stylesheet 
processing, this is no longer true for Cocoon2.

One solution might be to use CVS, or any RevisionControlSystem
to allow several developers access their own stylesheets...

hope it helps..



Christopher A. Brooks wrote:

 >Bernard,
 >
 >>see http://xml.apache.org/cocoon/faq.html
 >>
 >>Bernard
 >>
 >
 >Right, so this is the correct web page for the Cocoon FAQs, but it doesn't
 >actually say anything about how I can get Cocoon to do transformations on
 >the embedded <?xml-stylesheet?> tags instead of looking to the sitemap 
file.
 >Is there anyway to do this that you (or others!) know of?
 >
 >Cya,
 >
 >Chris
 >--
 >Christopher A. Brooks
 >Graduate Student, U of S
 >
 >Email: cab938@mail.usask.ca
 >Mail: Christopher Brooks
 >        Department of Computer Science
 >        University of Saskatchewan
 >        57 Campus Drive
 >        Saskatoon, Saskatchewan, S7N 5A9
 >        Canada
 >
 >>-----Original Message-----
 >>From: Christopher A. Brooks [mailto:cab938@mail.usask.ca]
 >>Sent: Monday, December 24, 2001 3:39
 >>To: cocoon-users@xml.apache.org
 >>Subject: Using <?xml-stylesheet?> tag with Cocoon (newbie question)
 >>
 >>
 >>Hi,
 >>
 >>I'm fairly green to working with Cocoon, but have scoured through some
 >>previous postings and tried to hunt through other resources on the 
net and
 >>have found no answer to this question (note: the mailing list refers to
 >>http://xml.apache.org/cocoon/faqs.html at the bottom of every 
message, but
 >>the URL gets a 404 error).
 >>
 >>To cut to the chase, I would like to have my XML files transformed to 
HTML
 >>using the embedded <?xml-stylesheet?> tag instead of defining the XSL 
file
 >>in the sitemap file.  Is there a way to do this?  If not, is there a 
quick
 >>way I can allow a number of different developers working in different
 >>directories to switch the stylesheets they are using without changing
 >>
 >things
 >
 >>in the sitemap file?
 >>
 >>Thanks, season greetings to all,
 >>
 >>Chris
 >>--
 >>Christopher A. Brooks
 >>Graduate Student, U of S
 >>
 >>Email: cab938@mail.usask.ca
 >>Mail: Christopher Brooks
 >>        Department of Computer Science
 >>        University of Saskatchewan
 >>        57 Campus Drive
 >>        Saskatoon, Saskatchewan, S7N 5A9
 >>        Canada
 >>
 >>
 >>---------------------------------------------------------------------
 >>Please check that your question has not already been answered in the
 >>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
 >>
 >>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
 >>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
 >>
 >>
 >>
 >>---------------------------------------------------------------------
 >>Please check that your question has not already been answered in the
 >>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
 >>
 >>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
 >>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
 >>
 >
 >
 >---------------------------------------------------------------------
 >Please check that your question has not already been answered in the
 >FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
 >
 >To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
 >For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
 >
 >




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message