cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gree...@locus.apache.org
Subject cvs commit: xml-cocoon/xdocs faq.xml
Date Mon, 11 Dec 2000 21:31:01 GMT
greenrd     00/12/11 13:31:00

  Modified:    xdocs    faq.xml
  Log:
  correction on the usage of util:include-expr
  
  Revision  Changes    Path
  1.35      +3 -2      xml-cocoon/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/xdocs/faq.xml,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- faq.xml	2000/12/10 14:06:12	1.34
  +++ faq.xml	2000/12/11 21:30:58	1.35
  @@ -176,9 +176,10 @@
        <code>&lt;util:include-expr&gt;</code> (making sure to declare
the util
        logicsheet namespace in your <code>&lt;xsp:page&gt;</code> tag
- instructions for 
        this can be found in the XSP documentation). You must either use the form
  -     <code>&lt;util:include-expr expr="mymethod()"/&gt;</code> or
  +     <code>&lt;util:include-expr expr="constant string"/&gt;</code>
for literals or
        <code>&lt;util:include-expr&gt;&lt;util:expr&gt;mymethod()&lt;/util:expr&gt;
  -      &lt;/util:include-expr&gt;</code> However this is not necessarily the

  +      &lt;/util:include-expr&gt;</code> for methods and expressions which
evaluate
  +     to strings. However this is not necessarily the 
        most efficient way, because it invokes the installed XML parser to parse the 
        string into an in-memory representation used throughout Cocoon 1.x called a 
        <link href="http://www.w3.org/DOM/">DOM <strong>(Document Object Model)</strong>
  
  
  

Mime
View raw message