cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Generating form models from XML Schemas
Date Mon, 23 Aug 2004 09:22:43 GMT
Has anyone made any attempt to do a mapping between
an XML Schema, and a CForms model representation of
the data... I assume it would need a stylesheet of some
kind, or is there any other way?

For example, the extract from this article
( )
suggest a mapping to a Java class:

"The xs:annotation elements can be added at the beginning 
of most schema constructions, as shown in the example 
below. The appinfo section demonstrates how custome 
namespaces and schemes might allow the binding of an 
element to a Java class from within the schema.

<xs:element name="book">
<xs:documentation xml:lang="en">
  Top level element.
<xs:documentation xml:lang="fr">
  Element racine.
<xs:appinfo source="">
  <bind xmlns="">
      <class name="Book"/>

Ideas welcome.


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message