Problem: Previewing custom XHTML files not working

* I use XMLmind XML editor to create ‘custom’ XHTML files for inclusion (via XInclude into) a XHTML master ‘map’ file. Typically, these files look something like this:

    <section xmlns="http://www.w3.org/1999/xhtml"; lang="en">
     <h1>Section heading</h1>
     <p>Lorem</p><p>Ipsum.</p>
    </section>

* Authoring them in XMLmind XML editor works very well, as long as one includes the XHTML namespace declaration. However, the Preview option in the XHTML menu does not work. * Workaround: By experimenting, I learned that the preview option is dependent on the presence of a <html> element in the XHTML namespace. Thus, I could solve my problem by wrapping the above element in the <html> element. However, I would prefer to avoid such a hack.

Proposal: As long as the root element is in the XHTML namespace, the preview opotion should be available.

I see no problems for the users with this proposal.
--
leif Halvard silli
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to