From 4a700f98a672a5367220e9c7aefb8353621b755e Mon Sep 17 00:00:00 2001 From: Willem Cazander Date: Fri, 21 Dec 2012 03:01:48 +0100 Subject: [PATCH] Added sorting to elddoc lists and updated site pages for better english. --- src/site/apt/download.apt | 5 +- src/site/apt/examples/load-modules.apt | 22 +++++- src/site/apt/examples/sample-swixml.apt | 74 ++++++++++++++++++- src/site/apt/examples/start-language.apt | 28 ++++++- src/site/apt/examples/validation.apt | 55 +++++++------- src/site/apt/features.apt | 6 +- src/site/apt/index.apt | 29 ++++---- src/site/apt/usage.apt | 42 ++++++----- .../org/x4o/xml/eld/doc/EldDocHtmlWriter.java | 37 ++++++++-- .../resources/META-INF/meta/meta-lang.eld | 5 ++ 10 files changed, 225 insertions(+), 78 deletions(-) diff --git a/src/site/apt/download.apt b/src/site/apt/download.apt index 80bac86..a8f90c4 100644 --- a/src/site/apt/download.apt +++ b/src/site/apt/download.apt @@ -29,7 +29,7 @@ Downloading org.x4o x4o-core - 0.8-SNAPSHOT + 0.8.5-SNAPSHOT +-- @@ -38,8 +38,9 @@ Downloading * Download binary release. Sorry we still have not done any binany releases. + When completed it should be on the {{{http://download.savannah.gnu.org/releases/x4o/}release}} page. * Downloading source code - Sorry we still have no source access. + see {{{./source-repository.html}repository}} page. \ No newline at end of file diff --git a/src/site/apt/examples/load-modules.apt b/src/site/apt/examples/load-modules.apt index 058b3c5..f54c739 100644 --- a/src/site/apt/examples/load-modules.apt +++ b/src/site/apt/examples/load-modules.apt @@ -23,11 +23,12 @@ Load Modules - The default language loader of x4o load all 'META-INF//-modules.xml' in the classpath. - So every extension library has its own modules definition file. + The default language loader of x4o loads all 'META-INF//-modules.xml' resources found in the classpath. + So every extension library has its own modules definition file. All options are allowed in multiple forms and order. - For xsd file see x4o-core classpath 'META-INF/language/modules-1.0.xsd'. + + The xsd file can be found in the x4o-core project classpath 'META-INF/language/modules-1.0.xsd'. +-- @@ -49,4 +50,17 @@ Load Modules foobar-lang-2.0.eld -+-- \ No newline at end of file ++-- + + * eld-resource + + The eld-resource tag loads the eld resource relative from the modules xml resource. + + * module-loader + + The module-loader lets you define module extensions and namespaces in code. + + * sibling-loader + + The sibling-loader lets you load other languages into the language used. + diff --git a/src/site/apt/examples/sample-swixml.apt b/src/site/apt/examples/sample-swixml.apt index e7904f6..8648121 100644 --- a/src/site/apt/examples/sample-swixml.apt +++ b/src/site/apt/examples/sample-swixml.apt @@ -275,7 +275,79 @@ public class BorderConverter extends AbstractStringObjectConverter { } +-- +* XML to parse + ++-- + + + + + + + + + + + + + + + + + + + + + + + + + +