
Originally Posted by
vgarcia

What's so "dirty" about XForms markup? XML is XML. If you really want it to be all XHTML output, transform your XForms with XSLT.
But wouldn't it be nice to be able to say eg:
HTML Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title>Example</title>
</head>
<body>
<LinkToForm src="form.xforms" title="The registration-form" />
</body>
</html>
The "model" could be in the same file, like you have a "head" and a "body" section in xhtml you could have eg a model and form section in xforms, and it would make your markup a lot easier to read...
And an other thing, RDF can be placed in an external file, and that is xml too!
Bookmarks