W3C home > Mailing lists > Public > www-forms@w3.org > November 2002

xforms instance with doctype

From: Roman Huditsch <roman.huditsch@hico.com>
Date: Thu, 28 Nov 2002 08:57:31 +0100
Message-ID: <0C79A363CB0321418927D0CB1AD0403C29A640@hicoetsrv000006.hico.local>
To: <www-forms@w3.org>

Hi,

I have a short question about attaching a doctype information to an Xforms instance.

After submitting the complete xforms instance, I would like to get an XML document like:

<?xml version="1.0"?>
  <!DOCTYPE topicMap
            PUBLIC "-//TopicMaps.Org//DTD XML Topic Map (XTM) 1.0//EN"
                   "file://usr/local/home/gromit/xml/xtm/xtm1.dtd">
  <topicMap xmlns='http://www.topicmaps.org/xtm/1.0/'
            xmlns:xlink='http://www.w3.org/1999/xlink'
            xml:base='http://www.shakespeare.org/hamlet/'>

    <!-- topics, associations, and merge map directives go here -->

  </topicMap>

How can I achieve that? I assume that it is not as simple as writing:

<xforms:instance>
  <!DOCTYPE topicMap
      PUBLIC "-//TopicMaps.Org//DTD XML Topic Map (XTM) 1.0//EN"
      "file://usr/local/home/gromit/xml/xtm/xtm1.dtd">
  <topicMap xmlns='http://www.topicmaps.org/xtm/1.0/'
            xmlns:xlink='http://www.w3.org/1999/xlink'
            xml:base='http://www.shakespeare.org/hamlet/'>

    <!-- topics, associations, and merge map directives go here -->

  </topicMap>
</xforms:instance>

Is it?

wbr,
Roman
Received on Thursday, 28 November 2002 02:58:06 GMT

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