Author: polx
Date: Mon Jan 4 23:36:31 2010
New Revision: 895826
URL: http://svn.apache.org/viewvc?rev=895826&view=rev
Log:
attempt at documentation polishes.
paul
Modified:
commons/proper/jelly/trunk/xdocs/faq.xml
commons/proper/jelly/trunk/xdocs/gettingstarted.xml
commons/proper/jelly/trunk/xdocs/index.xml
Modified: commons/proper/jelly/trunk/xdocs/faq.xml
URL:
http://svn.apache.org/viewvc/commons/proper/jelly/trunk/xdocs/faq.xml?rev=895826&r1=895825&r2=895826&view=diff
==============================================================================
--- commons/proper/jelly/trunk/xdocs/faq.xml (original)
+++ commons/proper/jelly/trunk/xdocs/faq.xml Mon Jan 4 23:36:31 2010
@@ -87,6 +87,11 @@
How do Jelly scripts handle CDATA sections?
</a>
</li>
+ <li>
+ <a href="#escapingJexl">
+ How does one write ${a.variable} to the output?
+ </a>
+ </li>
</ol>
<p><strong>Building Jelly</strong></p>
<ol>
@@ -359,18 +364,21 @@
</j:file>
</source>
</dd>
-<dd>
- will produce this output:
+ <dt>
+ <a name="escapingJexl">
+ How does one write ${a.variable} to the output?
+ </a>
+ </dt>
+ <dd>
+ Use the double-dollar as in
</dd>
-<dd>
-<source>
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE foo [
- <!ELEMENT foo (#PCDATA)>
-]>
+ <dd>
-<foo/>
-</source>
+<source>
+<![CDATA[<?xml version="1.0"?>
+<j:jelly xmlns:j="jelly:core">
+ This is $${escaped}
+</j:jelly>]]></source>
</dd>
</dl>
</section>
Modified: commons/proper/jelly/trunk/xdocs/gettingstarted.xml
URL:
http://svn.apache.org/viewvc/commons/proper/jelly/trunk/xdocs/gettingstarted.xml?rev=895826&r1=895825&r2=895826&view=diff
==============================================================================
--- commons/proper/jelly/trunk/xdocs/gettingstarted.xml (original)
+++ commons/proper/jelly/trunk/xdocs/gettingstarted.xml Mon Jan 4 23:36:31 2010
@@ -30,9 +30,9 @@
<p>
The easiest way to get started with Jelly is to try out the <a
href="tutorial.html">tutorials</a>.
-Before you try out any of the tutorials, you'll need to install Maven first.
+Before you try out any of the tutorials, you may need to install Maven-1.1
first.
For more details on how to install Maven please refer to the
-<a href="http://maven.apache.org/">Maven documentation</a>
+<a href="http://maven.apache.org/maven-1.x/">Maven documentation</a>
</p>
<p>
Modified: commons/proper/jelly/trunk/xdocs/index.xml
URL:
http://svn.apache.org/viewvc/commons/proper/jelly/trunk/xdocs/index.xml?rev=895826&r1=895825&r2=895826&view=diff
==============================================================================
--- commons/proper/jelly/trunk/xdocs/index.xml (original)
+++ commons/proper/jelly/trunk/xdocs/index.xml Mon Jan 4 23:36:31 2010
@@ -25,6 +25,12 @@
<body>
+<section name="Warning: low development activity">
+<p>Please note that Commons Jelly is enduring a phase
+ with low activity of its developers.
+ </p>
+</section>
+
<section name="Jelly : Executable XML">
<p><em>Jelly</em> is a tool for turning XML into executable code.