Altova Mailing List Archives


Tunneling own XML content in XHMTL etc.

From: Florian Weimer <fw@-----.----.-->
To: NULL
Date: 1/24/2011 7:43:00 PM
Is it posssible to embed one's own elements within an XHMTL document,
in such a way that the XHTML part and the foreign structure can be
validated separately?

I would like to have something like this:

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Title</title>
  </head>
  <body>
    <div xmlns:fw="http://www.enyo.de/xml/html-gen">
      <fw:xlist name="foo"/>
    </div>
  </body>
</html>

Unfortunately, this doesn't work.  And I can't find a suitable
loophole in the XHTML schema.

Eventually, I want to run a generator over the combined document and
lower it to XHTML, expanding things like table of contents,
references, etc.

It doesn't have to be XHTML per se, Docbook would probably work, too.

Would XHTML Modularization help with such a task?

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.