You can automatically generate XHTML documentation for any DTDs that are mounted in the IDE. The documentation describes each of the element declarations in your DTD, including its declared attributes, element content model, and the elements by which it is referenced.
You can add additional information to an element declaration's description by inserting a DTDDoc comment before the element declaration in the DTD. DTDDoc comments have a normal comment tag with three minus characters (-) instead of two. You can format the DTDDoc comment's appearance by using any XHTML tags allowed by the <DIV> element, as shown in the following example:
<!--- <b>The root element:</b> <ul> <li>Contains one or more item elements.</li> <li>Sets attributes for item elements.</li> </ul> --> <!ELEMENT root ANY>
To generate documentation for a DTD:
See Also | |
---|---|
DTD Node Creating a DTD Working With XML Schemas Generating a DOM Tree Scanner Generating a SAX Document Handler Creating a Cascading Style Sheet |