[aXSL-commit] SF.net SVN: axsl:[3344] trunk/axsl/axsl-00-dev/doc/we b/dtds/0.1/en/axsl-dictionary.d
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2026-07-31 09:56:52
|
Revision: 3344
http://sourceforge.net/p/axsl/code/3344
Author: victormote
Date: 2026-07-31 09:56:49 +0000 (Fri, 31 Jul 2026)
Log Message:
-----------
Add word-choice element to group proper but conflicting spellings together.
Modified Paths:
--------------
trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-dictionary.dtd
Modified: trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-dictionary.dtd
===================================================================
--- trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-dictionary.dtd 2026-07-30 13:26:32 UTC (rev 3343)
+++ trunk/axsl/axsl-00-dev/doc/web/dtds/0.1/en/axsl-dictionary.dtd 2026-07-31 09:56:49 UTC (rev 3344)
@@ -122,7 +122,7 @@
-->
<!ELEMENT axsl-dictionary (import-adhoc-dictionary*,
import-standard-dictionary*,
- (section | w | ambiguous-word | phrase | word-placeholder)*)>
+ (section | w | ambiguous-word | phrase | word-placeholder | word-choice)*)>
<!--
1. id: Used to allow one dictionary to point to another. It is an error for
more than one dictionary document to have the same id, although that must
@@ -233,7 +233,7 @@
<!-- Artificial subdivision for human navigation purposes. -->
<!ELEMENT section
(section | w | ambiguous-word | unresolved-duplicate | phrase |
- word-placeholder)* >
+ word-placeholder | word-choice)* >
<!ATTLIST section
description CDATA #IMPLIED
>
@@ -262,6 +262,20 @@
<!--
+Groups two or more words together as being the same word, but having alternative
+spellings and/or hyphenations.
+This allows applications to detect which alternative is being used, and enforce
+consistency.
+Not to be confused with unresolved-duplicate or ambiguous-word, each of which
+also groups words together, but for different purposes.
+Since alternate spellings could result in <w> elements being out-of-order,
+the first child should be used for sorting purposes, and the other(s) should be
+ignored for that purpose.
+-->
+<!ELEMENT word-choice (w, w+) >
+
+
+<!--
A valid word in this language.
By "word" is meant a sequence of characters whose spelling and hyphenation is
unique.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|