The XML Logo (from the 
      XML FAQ)

Chinese XML Now!
XML and SGML Resources


Declarations and Markup Languages

RDF.DTD

The newly published W3C Resource Description Framework
is not specified in a convenient way.
Here are ISO standard XML markup declarations.
There is also a version in text/plain
(1999-02-25)

QAML.DTD

A final beta XML version of the Question and Answer Markup Language DTD for FAQs.
(QAML 2.0X has been written in conjunction with people from FAQ.org)
This version supports language, stylesheets, ratings and linking better. (1999-05-15)
There is also a version in text/plain.
As examples, you can see the Chinese XML FAQ or the Chinese Metadata FAQ
with a simple Cascading Style Sheet.
html2qaml.xom is an OmniMark script
to help conversions from HTML to QAML.

SGML Declaration for Big5

If you want to use Big5 XML documents with SGML systems,
you will need a special SGML declaration. SGML was not designed
to cope with multiple-byte character encodings, so the SGML declaration
has to be hacked to make it work. (1999-02-05)
[XML] [SGML loose] [SGML tight]

lineDataWrap: An Element Set for Line-Delimited Records

This note defines elements you can use to incorporate line-delimited records
and fixed-column data into XML documents. The DTD is also available.
There is also a version in text/plain

(TEI) Lite and Loose DTD

This DTD can be used to distribute TEI Lite documents over the World Wide Web: it is the TEI Lite DTD, loosened according to the requirements of XML. TEI is the Text Encoding Initiative; you can make TEI DTDs to mark up all sorts of literature and reference material. Please note that this DTD may change over the next few months, in slight ways. (1999-02-10)
(TEI) Lite and Loose is also available using DDML, see next entry.
There is also a version in text/plain

XML-ized Public Entity Sets

The basic ISO and SPREAD-2 public entity sets
for special characters.


Programs

XML Markup Declaration to DDML Converter

DDML (Document Description Markup Language) is for DTDs declared using elements
rather than XML markup declarations. There are OmniMark scripts to convert XML markup declarations into DDML:
there are two scripts: xml2ddml.xom and xml2ddml2.xom. Also, there are examples of DDML: the XBEL DTD,
our version of the DDML DTD, our (TEI) Lite and Loose DTD, and MathML, all in DDML.

Using XSL as a Structure Validation Language

The note shows how you can use XSL (eXensible Stylesheet Language)
to validate document structures. (1999-02-05)
Example: Exclusion Validator for XHTML (1999-02-26)


Examples

Wefo Shrzi -- Some ancient poems from the Conservatory Anthology

This is temporarily available, in XML in UTF-8. The Academia Sinica full text database
has several hundred meg more. The document is some ancient Chinese poems or lyrics (about 33K).
It uses our new (TEI) Lite and Loose DTD. (1999-02-10)
An alternate version formatted using a CSS stylesheet is also available. (1999-02-15)
Please note that this document is still being tested.

Example of Parallel HTML, HTML-in-XML, and XML

This is the overview of a seminar series at Academia Sinica.
You can use it to compare the XML and CSS implementations of various browsers.
You can see the same document marked up as HTML, HTML-in-XML with namespaces, and XML.
The HTML documents use one Cascading Style Sheet, the XML document uses another.
As a further example, you can see the same document with VML graphic objects.
Even though the documents may look the same (if your browser accepts them),
if you view source, you can see they are all marked up very differently. (1999-02-11)


Return to Chinese XML Now! home page. Pick your language...

[in English]
English

(UTF-8)
[in Chinese]
Chinese

(UTF-8)
[in Chinese]
Traditional

Chinese
(Big5)
[in Chinese]
Simplified

Chinese
(GB 2312)

Academia Sinica

[in English][in Chinese]

[Legal Notices]