24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Author</strong> Developer Guide | 195Figure 101: Samples of images in <strong>Author</strong>Testing the Document Type AssociationTo test the new Document Type create an <strong>XML</strong> instance that is conforming with the Simple Documentation Frameworkassociation rules. You will not specify an <strong>XML</strong> Schema location directly in the document, using anxsi:schemaLocation attribute; <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> will detect instead its associated document type anduse the specified schema.My Technical Book<strong>XML</strong>Extensible Markup LanguageIn this section of the book I willexplain different <strong>XML</strong> applications.When trying to validate the document there should be no errors. Now modify the title to title2. Validate again.This time there should be one error:cvc-complex-type.2.4.a: Invalid content was found starting with element'title2'. One of '{"http://www.oxygenxml.com/sample/documentation":title}'is expected.Undo the tag name change. Press on the <strong>Author</strong> button at the bottom of the editing area. <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong>should load the CSS from the document type association and create a layout similar to this:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!