dims 01/06/21 05:59:20
Modified: . Tag: cocoon_20_branch build.xml
xdocs Tag: cocoon_20_branch actions.xml docs-book.xml
i18n.xml site-book.xml
Added: xdocs Tag: cocoon_20_branch actions.txt
stream-generator.xml telnet.txt
Removed: src/org/apache/cocoon/acting Tag: cocoon_20_branch README
webapp/docs/samples/stream Tag: cocoon_20_branch
ReadMeAdd.txt telnet.txt
webapp/i18n/translations Tag: cocoon_20_branch readme.txt
Log:
Cleaning up docs:
- Added doc for StreamGenerator based on Kinga's Readme
- Moved README under acting to xdocs
- Added stuff from i18n\translations\readme.txt into i18n.xml
Revision Changes Path
No revision
No revision
1.8.2.8 +1 -0 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.8.2.7
retrieving revision 1.8.2.8
diff -u -r1.8.2.7 -r1.8.2.8
--- build.xml 2001/06/15 18:00:37 1.8.2.7
+++ build.xml 2001/06/21 12:59:14 1.8.2.8
@@ -471,6 +471,7 @@
<include name="**/*.gif"/>
<include name="**/*.png"/>
<include name="**/*.jpg"/>
+ <include name="**/*.txt"/>
</fileset>
</copy>
No revision
No revision
1.2.2.1 +3 -2 xml-cocoon2/xdocs/actions.xml
Index: actions.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/xdocs/actions.xml,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- actions.xml 2001/05/29 20:13:12 1.2
+++ actions.xml 2001/06/21 12:59:17 1.2.2.1
@@ -20,7 +20,7 @@
at run time, we surmised that sometimes we need to adjust the pipeline
based on runtime parameters, or even the contents of the Request parameter.
Without the use of Actions this would make the sitemap almost
- incomprehensable.
+ incomprehensable.
</p>
<p>
The quick and dirty definition of an Action is "a Sitemap Component that
@@ -29,7 +29,8 @@
form processing, and even dynamic navigation. The Action is
differentiated from the other sitemap components (Generator, Transformer,
Serializer, and Reader) primarily by the fact that it does not produce
- any display data.
+ any display data. <link href="actions.txt">actions.txt</link> contains
+ excerpts from discussions on the cocoon-dev@ mailing list regarding Actions.
</p>
<s2 title="When to use an Action instead of XSP">
<p>
1.3.2.7 +1 -0 xml-cocoon2/xdocs/docs-book.xml
Index: docs-book.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/xdocs/docs-book.xml,v
retrieving revision 1.3.2.6
retrieving revision 1.3.2.7
diff -u -r1.3.2.6 -r1.3.2.7
--- docs-book.xml 2001/06/19 17:28:21 1.3.2.6
+++ docs-book.xml 2001/06/21 12:59:17 1.3.2.7
@@ -19,6 +19,7 @@
<page id="extending" label="Extending C2" source="extending.xml"/>
<page id="avalon" label="Avalon" source="avalon.xml"/>
<page id="i18n" label="Internationalization" source="i18n.xml"/>
+ <page id="stream" label="Stream Generator" source="stream-generator.xml"/>
<separator/>
<page id="xsp" label="XSP" source="xsp.xml"/>
<page id="xsp-internals" label="XSP Internals" source="xsp-internals.xml"/>
1.3.2.2 +50 -0 xml-cocoon2/xdocs/i18n.xml
Index: i18n.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/xdocs/i18n.xml,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -u -r1.3.2.1 -r1.3.2.2
--- i18n.xml 2001/06/15 15:00:22 1.3.2.1
+++ i18n.xml 2001/06/21 12:59:17 1.3.2.2
@@ -292,6 +292,56 @@
bug is fixed.
</note>
</s1>
+ <s1 title="Usage Pattern for Dictionary Generator Stylesheet">
+ <p>
+ Desciption is given for a real world example:
+ To correct/add Spanish translation in/to an existing dictionary:
+ </p>
+ <s2 title="Key generation">
+ <p>
+ Generate a dictionary with keys and placeholders for Spanish
translations.
+ Optionaly, for one of the languages existing translations can be kept.
+ To do it set stylesheet params (manually in stylesheet or in
command-line):
+ mode = keys (indicates, that only keys must be in result)
+ new-lang = es (language to be added)
+ keep-lang = en (language to be kept in result, for convenience)
+
+ Command line for Xalan (Of course, Xerces and Xalan must be in your
classpath):
+ </p>
+ <source><![CDATA[
+java org.apache.xalan.xslt.Process -IN simple_dict.xml -XSL merge.xsl -OUT
simple_dict_es.xml -PARAM mode keys -PARAM new-lang es -PARAM keep-lang en
+]]></source>
+ <p>
+ This will create a file simple_dict_es.xml with entries, keys and
placeholders.
+ </p>
+ </s2>
+ <s2 title="Translation">
+ <p>
+ Replace placeholders with translation according to the keys or original
+ translations, if they were kept during generation.
+ </p>
+ </s2>
+ <s2 title="Add to the original dictionary">
+ <p>
+ (Note. This step will be unnecessary when multiple dictionary
+ support will be implemented. Hope, this will be soon)
+
+ Use the same stylesheet for this purpose with this params:
+ </p>
+ <source><![CDATA[
+mode = merge
+new-lang = es
+new-dict = simple_dict_es.xml
+]]></source>
+
+ <p>
+ Command line for Xalan:
+ </p>
+ <source><![CDATA[
+java org.apache.xalan.xslt.Process -IN simple_dict.xml -XSL merge.xsl -OUT
simple_dict_new.xml -PARAM mode merge -PARAM new-lang es -PARAM new-dict
simple_dict_es.xml
+]]></source>
+ </s2>
+ </s1>
<s1 title="Finally">
<s2 title="To be done">
<ul>
1.3.2.9 +1 -0 xml-cocoon2/xdocs/site-book.xml
Index: site-book.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/xdocs/site-book.xml,v
retrieving revision 1.3.2.8
retrieving revision 1.3.2.9
diff -u -r1.3.2.8 -r1.3.2.9
--- site-book.xml 2001/06/19 17:28:22 1.3.2.8
+++ site-book.xml 2001/06/21 12:59:17 1.3.2.9
@@ -23,6 +23,7 @@
<page id="extending" label="Extending C2" source="extending.xml"/>
<page id="avalon" label="Avalon" source="avalon.xml"/>
<page id="i18n" label="Internationalization" source="i18n.xml"/>
+ <page id="stream" label="Stream Generator" source="stream-generator.xml"/>
<separator/>
<page id="xsp" label="XSP" source="xsp.xml"/>
<page id="xsp-internals" label="XSP Internals" source="xsp-internals.xml"/>
No revision
No revision
1.1.2.1 +294 -0 xml-cocoon2/xdocs/Attic/actions.txt
1.1.2.1 +92 -0 xml-cocoon2/xdocs/Attic/stream-generator.xml
1.1.2.1 +55 -0 xml-cocoon2/xdocs/Attic/telnet.txt
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]