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><util:include-expr></code> (making sure to declare
the util
logicsheet namespace in your <code><xsp:page></code> tag
- instructions for
this can be found in the XSP documentation). You must either use the form
- <code><util:include-expr expr="mymethod()"/></code> or
+ <code><util:include-expr expr="constant string"/></code>
for literals or
<code><util:include-expr><util:expr>mymethod()</util:expr>
- </util:include-expr></code> However this is not necessarily the
+ </util:include-expr></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>
|