crossley 2003/02/14 20:17:38
Modified: src/documentation/xdocs/userdocs/transformers
lexer-transformer.xml parser-transformer.xml
pattern-transformer.xml
Log:
Minor text tweaks and formatting.
Revision Changes Path
1.2 +11 -7
xml-cocoon2/src/documentation/xdocs/userdocs/transformers/lexer-transformer.xml
Index: lexer-transformer.xml
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/transformers/lexer-transformer.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lexer-transformer.xml 4 Feb 2003 14:54:27 -0000 1.1
+++ lexer-transformer.xml 15 Feb 2003 04:17:38 -0000 1.2
@@ -13,17 +13,19 @@
</header>
<body>
<s1 title="Lexical Transformer">
- <p>The lexical transformer tokenize the content of special marked elements of a
SAX stream, by using
- a lexicon file.</p>
+ <p>The lexical transformer tokenizes the content of special marked
+ elements of a SAX stream, by using a lexicon file.</p>
<ul>
- <li>Name : lexer</li>
+ <li>Name: lexer</li>
<li>Class: org.apache.cocoon.transformation.LexicalTransformer</li>
- <li>Cacheable: yes - uses the last modification date of the lexicon document
for validation.</li>
+ <li>Cacheable: yes - uses the last modification date of the lexicon
+ document for validation.</li>
</ul>
- <p>The lexer parse following elements from the SAX stream, and replace them
through
- generated documents.</p>
+ <p>The lexer parses the following elements from the SAX stream, and
+ replaces them through generated documents.
+ </p>
<source><![CDATA[
<text xmlns="http://chaperon.sourceforge.net/schema/text/1.0">
@@ -31,7 +33,9 @@
</text>
]]></source>
- <p>The lexical transformer will replace these elemens by a list of
lexemes(tokens).</p>
+ <p>The lexical transformer will replace these elements by a list of
+ lexemes (tokens).
+ </p>
<source><![CDATA[
<lexemes xmlns="http://chaperon.sourceforge.net/schema/lexemes/1.0">
1.2 +9 -7
xml-cocoon2/src/documentation/xdocs/userdocs/transformers/parser-transformer.xml
Index: parser-transformer.xml
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/transformers/parser-transformer.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- parser-transformer.xml 4 Feb 2003 14:54:27 -0000 1.1
+++ parser-transformer.xml 15 Feb 2003 04:17:38 -0000 1.2
@@ -13,17 +13,18 @@
</header>
<body>
<s1 title="Parser Transformer">
- <p>The parser transformer builds a syntax tree of a list of lexemes(tokens), by
using
- a grammar file.</p>
+ <p>The parser transformer builds a syntax tree of a list of lexemes
+ (tokens), by using a grammar file.</p>
<ul>
- <li>Name : parser</li>
+ <li>Name: parser</li>
<li>Class: org.apache.cocoon.transformation.ParserTransformer</li>
- <li>Cacheable: yes - uses the last modification date of the grammar document
for validation.</li>
+ <li>Cacheable: yes - uses the last modification date of the grammar
+ document for validation.</li>
</ul>
- <p>The parser use following elements from the SAX stream, and replace them
through
- a syntax tree.</p>
+ <p>The parser uses the following elements from the SAX stream, and
+ replaces them through a syntax tree.</p>
<source><![CDATA[
<lexemes xmlns="http://chaperon.sourceforge.net/schema/lexemes/1.0">
@@ -34,7 +35,8 @@
</lexemes>
]]></source>
- <p>The parser transformer will replace these elemens by a syntax tree.</p>
+ <p>The parser transformer will replace those elements with a syntax tree.
+ </p>
<source><![CDATA[
<paragraph xmlns="http://chaperon.sourceforge.net/schema/syntaxtree/1.0">
1.2 +10 -7
xml-cocoon2/src/documentation/xdocs/userdocs/transformers/pattern-transformer.xml
Index: pattern-transformer.xml
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/transformers/pattern-transformer.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pattern-transformer.xml 4 Feb 2003 14:54:27 -0000 1.1
+++ pattern-transformer.xml 15 Feb 2003 04:17:38 -0000 1.2
@@ -13,17 +13,19 @@
</header>
<body>
<s1 title="Pattern Transformer">
- <p>The pattern transformer recognized special text part by a pattern, and
replace them by a XML
- element. This transformer use a lexicon file to specify the pattern.</p>
+ <p>The pattern transformer recognizes special texts part using patterns,
+ and replaces them with XML elements. This transformer use a lexicon
+ file to specify the pattern.</p>
<ul>
- <li>Name : pattern</li>
+ <li>Name: pattern</li>
<li>Class: org.apache.cocoon.transformation.PatternTransformer</li>
- <li>Cacheable: yes - uses the last modification date of the lexicon document
for validation.</li>
+ <li>Cacheable: yes - uses the last modification date of the lexicon
+ document for validation.</li>
</ul>
- <p>The pattern transformer parse all text elements from the SAX stream, and
replace the
- special text parts.</p>
+ <p>The pattern transformer parses all text elements from the SAX stream,
+ and replaces the special text parts.</p>
<source><![CDATA[
<myelement>
@@ -31,7 +33,8 @@
</myelement>
]]></source>
- <p>The pattern transformer will replace these special text parts by a
lexeme(token).</p>
+ <p>The pattern transformer will replace these special text parts with
+ a lexeme (token).</p>
<source><![CDATA[
<myelement>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]