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

RESEND: Extending xhtml? How?

From: Brad Cox <bcox@virtualschool.edu>
Date: Fri, 23 Jan 2004 08:00:00 -0500
Message-Id: <p06001807bc36cac3639f@[68.50.169.130]>
To: xmlschema-dev@w3.org
Its been a week so I thought I'd better resend this. Could someone 
please respond? I'm still dead in the water on this one and REALLY 
could use help. See http://virtualschool.edu/ale (Action Learning 
Environment) for the system I'm building. Thanks!

------

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+)

-- 
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 Friday, 23 January 2004 08:05:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:41 GMT