[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Integrating XHTML modules into a markup language

  • From: ht@i... (Henry S. Thompson)
  • To: "tom tom" <tomxsllist@h...>
  • Date: Mon, 04 Dec 2006 15:29:26 +0000

xhtml. modules
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tom tom writes:

> I wish to utilize some XHTML modules in a schema I am developing. If,
> for example I wish to include the Block structural module - which if I
> understand correctly is called xhtml-blkstruct-1.xsd - where should I
> be referencing this from?
>
> One of the places I have tried it from here:
> http://www.w3.org/MarkUp/SCHEMA/xhtml-blkstruct-1.xsd and I get a
> 'missing Common.attrib attribute group' error. Before I go about
> trying to debug this I feel I am going about this in the wrong way?

The modular schemas are mostly not independently usable.  The module
you're looking at, for <div> and <p>, not surprisingly refers to
element and attribute declarations in many other 'lower level'
modules.  The complete list appears to me to be:

 xhtml-attribs-1.xsd
 xhtml-bdo-1.xsd
 xhtml-csismap-1.xsd
 xhtml-datatypes-1.xsd
 xhtml-edit-1.xsd
 xhtml-form-1.xsd
 xhtml-hypertext-1.xsd
 xhtml-image-1.xsd
 xhtml-inlstyle-1.xsd
 xhtml-link-1.xsd
 xhtml-list-1.xsd
 xhtml-meta-1.xsd
 xhtml-object-1.xsd
 xhtml-pres-1.xsd
 xhtml-ruby-1.xsd
 xhtml-script-1.xsd
 xhtml-style-1.xsd
 xhtml-table-1.xsd
 xhtml-text-1.xsd
 xhtml11-model-1.xsd

However, it is not in general safe to just xs:include all of those --
the xhtml11.xsd top-level driver gets all but xhtml11-model-1.xsd via
xhtml11-modules-1.xsd, which in turn _xs:redefines_ rather than
xs:includes some of the above, namely

 xhtml-csismap-1.xsd
 xhtml-form-1.xsd
 xhtml-hypertext-1.xsd
 xhtml-image-1.xsd
 xhtml-object-1.xsd

So you're really better off just xs:including the top-level driver and
getting everything, i.e. xhtml11.xsd itself.

ht
- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@i...
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFFdD7WkjnJixAXWBoRAld1AJ45ricfH83OzO3aE/XHodXTIkczyQCeJ/Gc
C3psSS5+fmm5OUnWpXdSieY=
=pQca
-----END PGP SIGNATURE-----


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.