Extending xhtml? How?

Hi. Just joined this group after weeks of fruitless struggle. Hope 
someone here can help with which seems (to me) a common and simple 
problem.

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