W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2004

Extending xhtml? How?

From: Brad Cox <bcox@virtualschool.edu>
Date: Sat, 17 Jan 2004 11:55:17 -0500
Message-Id: <p0600181cbc2f1684c934@[]>
To: xmlschema-dev@w3.org
Hi. Just joined this group after weeks of fruitless struggle. Hope 
someone here can help with which seems (to me) a common and simple 

I simply want to add a number of custom elements to XHTML. The 
application is a teaching infrastructure in which web pages are 
authored in xhtml with several custom extensions for specifying 
form-based questions for the students to answer. These are parsed and 
managed via java/jdom.

I've attached my best shot to date, which works for my custom stuff, 
but refuses to attach them to xhtml. I'm pretty sure I'm not even on 
the right track with the <xsd:any/> stuff, but not sure where the 
right track is. I suspect <xsd:include> is required, but no idea 
*what* to include.

To be clear, what I want is for my custom elements, <textField>, and 
friends, to be allowed whereever <p>, <b>, etc are allowed in xhtml. 
Can someone here help? Thanks!

PS: In my world, <page>s live within <task>s, and pages are 
equivalent to xhtml <body> elements. In other words, <textField>, 
<p>, <h1>, etc should be allowed inside pages, not tasks.
Brad J. Cox, PhD, 703 361 4751, http://virtualschool.edu
   http://virtualschool.edu/mybank Digital Rights Management System
          http://virtualschool.edu/jco Java Cryptographic Objects (JCO)
        http://virtualschool.edu/jwaa Java Web Application Architecture (JWAA)
      http://virtualschool.edu/java+ Java Preprocessor (Java+)

Received on Saturday, 17 January 2004 11:54:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:04 UTC