cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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
  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 @@
  + <question>how do I specify the encoding for my page?</question>
  + <answer>
  +  <p>Please, look at the answer below.</p>
  + </answer>
  + <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
  +  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></code>
  +  file, associated to the type <code>text/html/loose</code>. Please, look at
  +  configuration file to know more about the formatting parameters available.</p>
  + </answer>
    <question>what are the other jar files shipped with Cocoon for? do I need to include
them into my classpath?</question>
     <p>They are for building Cocoon and creating its docs from XML but they are not
used by Cocoon at runtime so, if you

View raw message