external model

Hi there,

is there a way, to specify a complete xforms model in an external file and
just refering to it? So that, for example, a hosting XHTML document only
would need to implement the XForms UI components and just contain a link to
the model? 

I was thinking of something like that: (as linking to an external
stylesheet)

...
<head>
  ...
  <link id="myModel" href="myModel.xml" type="text/xml" rel="subsection" />
  ...
</head>
<body>
  ...
  <xform:input model="myModel" ref="/data/test">
    <xforms:label>Enter test data<xforms:label>
  </xforms:input>
  ...
</body>
...

Any ideas?

cheers,
Matthias

Received on Monday, 8 September 2003 00:54:09 UTC