XHTML Validation

    Each XHTML document is validated upon save.  Deki Wiki uses two rule sets depending if the page may contain unsafe content or not.

    Format Description

    # Comment line
    + Pad with &nbsp if the element is empty.
    - Remove element if it is empty.
    / Alternate element names.  The first element is the one that will be output.
    [abc|xyz] List of of valid attributes on element.
    <abc?xyz List the valid values for an attribute (omitted to allow any value).

    XHTML Extensions

    For a few elements, Deki Wiki adds a handful of attributes to track metadata and content transform operations.  Italicized elements are only valid for unsafe content.

    • a[template]
    • pre[function]
    • span[function]
    • table[function]
    • img[ialign,size_type]
    • h1/../h6[name]
    • if[test]
    • elseif[test]
    • else
    • foreach[in|var|where]
    • expr[value]
    • js[value]
       

    Safe XHTML Rules

    Complete XHTML Rules

    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by