W3C home > Mailing lists > Public > www-forms@w3.org > September 2003

external model

From: Matthias Kind <mkind@dstc.edu.au>
Date: Mon, 8 Sep 2003 14:54:01 +1000
Message-Id: <200309080453.h884rouo014373@piglet.dstc.edu.au>
To: <www-forms@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:56 GMT