W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2002

Re: Formattings in XML Document!

From: Bob Schloss <rschloss@us.ibm.com>
Date: Wed, 13 Feb 2002 11:58:16 -0500
To: mogot@web.de, xmlschema-dev@w3.org
Message-ID: <OF0204821E.1B66D5AD-ON85256B5F.005BD94A@pok.ibm.com>

Besides declaring the namespaces of MathML and/or XHTML in your schemas,
you may want to define your own complexType for the content of element TexT
in which you include wildcard particles, such as
 <xs:any namespace="http://www.w3.org/1998/Math/MathML" processContents
="skip" minOccurs="0"/>
(you could use processContents="lax").

Please see these sections of the Schema spec:

I think it would be nice to have a fuller explanation of this as a question
in the XML Schema FAQ:

            Good luck,

mogot@web.de@w3.org on 02/13/2002 05:22:05 AM

Sent by:    xmlschema-dev-request@w3.org

To:    xmlschema-dev@w3.org
Subject:    Formattings in XML Document!

Hello people,

I defined the structure of a document in a schema. In generated XML
documents  I would like to apply the formatting as bold, turned up , turned
down and to apply mathematical signs without defining the needed signs in
my schema for that.

The formatting and additional characters are supposed to occur per example
in a element <TexT> ..</TexT>. This element was defined as string in the
schema. Is it possible that I only declare the Namespaces of MathML
(Mathematical Markup Language) and xhtml to include the W3C schemas of
these elements (as <mrow>..</mrow> <mn>..</mn> and <sup>..</sup>,
<sub>..<sub>) in my primary schema and to use these in the <TexT> element
without defining these elements?

Please help me fast, it is urgent.
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
Received on Wednesday, 13 February 2002 11:59:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:59 UTC