Serna Free is an Open Source XML editor now

Instant XML Validation

With instant XML Validation in Serna XML editor you can feel confident of authoring perfectly consistent and valid XML content that conforms with all the structural rules and business conventions.

To validate XML documents Syntext Serna uses W3C XML Schema. When opening an XML document, Syntext Serna also validates it against the specified DTD. XML Schemas can be generated from DTDs automatically using Syntext DTD2XS tool which is free for Serna customers.

Syntext Serna XML Editor provides three XML validation modes:


  • Strict XML Validation: In strict XML validation mode, you cannot make changes which are not permitted by the XML Schema.
  • XML Validation ON: This mode Serna XML editor validates XML document on-the-fly, but allows you to make XML document temporarily invalid. This can be necessary in some tricky tasks like manually incorporating the content of the foreign XML document format into your XML document.
  • XML Validation OFF: In this validation mode Serna does not validate XML document you are editing. You can do anything you want but Serna ensures that the document is still well-formed.

Assisted XML Editing

XML validation is performed on every document operation on-the-fly. When you are inserting elements, Serna XML editor provides valid element lists specific to the current cursor position, taking the existing content into consideration .

Besides XML validation, Serna also provides lists of allowed attributes and their possible values for the current cursor position. Additionally, the Element Attributes dialog provides lists of available IDs (for IDREF attributes) and allows you to browse for file name references.

While you are editing XML documents, Serna automatically creates unambiguously required elements. When some element is required but there's more than one alternative, Serna shows the Choose Element widget, which allows the user to see all the ambiguities at once and resolve them interactively.

Validate XML Document

In Serna, XML validation errors are shown in a split pane. You can easily eliminate errors and navigating on them by clicking on error messages.If the cause of the error goes away, it is removed automatically from the message box.

Besides dynamic XML validation, a whole XML document can be revalidated explicitly with the Revalidate command.