Proof of concept implementation of DXML
This is a sample implementation of small subset of DXML commands. This implementation
supports the following DXML commands.
- replaceAttribute
- insertAttribute
- deleteAttribute
- replaceElement
- insertElement
- deleteElement
- replaceDocument
Sample implementation is a XSLT stylesheet (dhtml2html.xsl).
that converts a .dhtml document to a HTML document with JavaScript. The output
HTML runs with Microsoft Internet Explorer 5.0. The stylesheet works with James Clark's
XT.
Other bugs and problems
- insertElement does not accept position attribute. Only before and after are supported.
- insertElement and replaceElement don't accept URL for new element (href attribute).
- In insertElement, replaceElement and replaceDocument, the new element block should be within
a CDATA section.
sample dhtml file