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: [EMAIL PROTECTED]
 >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:[EMAIL PROTECTED]]
 >>Sent: Monday, December 24, 2001 3:39
 >>To: [EMAIL PROTECTED]
 >>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: [EMAIL PROTECTED]
 >>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: <[EMAIL PROTECTED]>
 >>For additional commands, e-mail: <[EMAIL PROTECTED]>
 >>
 >>
 >>
 >>---------------------------------------------------------------------
 >>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: <[EMAIL PROTECTED]>
 >>For additional commands, e-mail: <[EMAIL PROTECTED]>
 >>
 >
 >
 >---------------------------------------------------------------------
 >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: <[EMAIL PROTECTED]>
 >For additional commands, e-mail: <[EMAIL PROTECTED]>
 >
 >




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

Reply via email to