You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2005/01/12 07:46:53 UTC
cvs commit: jakarta-commons/jelly/jelly-tags/util/xdocs index.xml
dion 2005/01/11 22:46:53
Modified: jelly/jelly-tags/util/xdocs index.xml
Log:
Add tip on whitespace tokenizing
Revision Changes Path
1.4 +12 -0 jakarta-commons/jelly/jelly-tags/util/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/util/xdocs/index.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- index.xml 8 Sep 2004 05:46:37 -0000 1.3
+++ index.xml 12 Jan 2005 06:46:53 -0000 1.4
@@ -28,6 +28,18 @@
See the <a href="tags.html">tags</a> for more information.
</p>
</section>
+ <section name="Tips">
+ <p>
+ If you would like to use the <code>tokenize</code> tag and tokenize on
+ whitespace, you may think you could use a delimiter of <code>\n or \t</code>
+ etc, but those character strings are specific to Java, not XML.
+ </p>
+ <p>
+ Randy Xu came up with a workaround, using XML unicode entities, e.g.
+ <code><![CDATA[
, 
, 	, &x20]]></code> for line feed, carriage return,
+ tab and space respectively.
+ </p>
+ </section>
</body>
</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org