This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Has anyone got examples of these validating XSLTs? Was: Re: DTD Files !
David Carlisle wrote:
> For example in MathML a cn element (number) normally just takes
> character data (as a real number) but if the the type attribute is used
> with value complex-cartesian then the cn element has to have exactly one
> <sep/> child, with the real and imaginary parts being represented by the
> characters either side of the <sep/>.
Sorry for an off-topic comment: isn't it a weird markup design? If a
real/complex part of a complex cartesian is perceived as an entity, one is
expected to put it into a <m:re>/<m:im> or something like this. Nothing strange
you cannot express it by a DTD or Schema; it is equally difficult to describe
the semantics of the <sep/> element in plain English ("represents a space
between Re and Im" ;-)?).
Regards,
Nikolai
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list