cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/xdocs faq.xml
Date Mon, 01 May 2000 23:50:49 GMT
stefano     00/05/01 16:50:49

  Modified:    xdocs    faq.xml
  Log:
  added couple of faqs for xsl:output
  
  Revision  Changes    Path
  1.12      +26 -0     xml-cocoon/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/xdocs/faq.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- faq.xml	2000/04/27 17:55:16	1.11
  +++ faq.xml	2000/05/01 23:50:49	1.12
  @@ -72,6 +72,32 @@
   </faq>
   
   <faq>
  + <question>how do I specify the encoding for my page?</question>
  + <answer>
  +  <p>Please, look at the answer below.</p>
  + </answer>
  +</faq>
  +
  +<faq>
  + <question>why <code>xsl:output</code> doesn't work?</question>
  + <answer>
  +  <p>The Cocoon project doesn't implement the <code>xsl:output</code>
feature for XSLT
  +  because we believe it breaks the separation of concerns and doesn't match the
  +  internal Cocoon architecture.</p>
  +  <p>On the other hand, we do understand the importance for a stylesheet to
  +  specify how the content should be presented to the requesting client, for this
  +  reason, Cocoon uses the <code>cocoon-format</code> processing instruction
to
  +  tell the engine which formatter to use to format the transformation output.
  +  So, by placing:</p>
  +  <source><![CDATA[<?cocoon-format type="text/html/loose"?>]]></source>
  +  <p>you indicate the page containing this processing instruction should be
  +  encoded and sent using the formatting properties contained in your <code>cocoon.properties</code>
  +  file, associated to the type <code>text/html/loose</code>. Please, look at
the
  +  configuration file to know more about the formatting parameters available.</p>
  + </answer>
  +</faq>
  +
  +<faq>
    <question>what are the other jar files shipped with Cocoon for? do I need to include
them into my classpath?</question>
    <answer>
     <p>They are for building Cocoon and creating its docs from XML but they are not
used by Cocoon at runtime so, if you
  
  
  

Mime
View raw message