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.

Editing Documents | 68If you want to include only a fragment of a file in the master file, the fragment must be contained in a tag having anxml:id attribute and you must use an XPointer expression pointing to the xml:id value. For example if the master file is:and the a.xml file is:testafter resolving the XPointer reference the document is:testThe XInclude support in <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> is turned on by default. You can toggle it by going to the entryEnable XInclude processing in the menu Window > Preferences ... > oXygen > <strong>XML</strong> > <strong>XML</strong> Parser. When enabled,<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> will be able to validate and transform documents comprised of parts added using XInclude.Working with <strong>XML</strong> CatalogsWhen Internet access is not available or the Internet connection is slow the OASIS <strong>XML</strong> catalogs present in the listmaintained in the <strong>XML</strong> Catalog Preferences panel will be scanned trying to map a remote system ID (at documentvalidation) or a URI reference (at document transformation) pointing to a resource on a remote Web server to a localcopy of the same resource. If a match is found then <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> will use the local copy of the resourceinstead of the remote one. This enables the <strong>XML</strong> author to work on his/hers <strong>XML</strong> project without Internet access orwhen the connection is slow and waiting until the remote resource is accessed and fetched becomes unacceptable. Also<strong>XML</strong> catalogs make documents machine independent so that they can be shared by many developers by modifying onlythe <strong>XML</strong> catalog mappings related to the shared documents.<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> supports any <strong>XML</strong> catalog file that conforms to one of:• the OASIS <strong>XML</strong> Catalogs Committee Specification v1.1• the OASIS Technical Resolution 9401:1997 including the plain-text flavor described in that resolutionThe version 1.1 of the OASIS <strong>XML</strong> Catalog specification introduces the possibility to map a system ID, a public ID ora URI to a local copy using only a suffix of the ID or URI used in the actual document. This is done using the newcatalog elements systemSuffix and uriSuffix.An <strong>XML</strong> catalog can be used also to map a W3C <strong>XML</strong> Schema specified with an URN in the xsi:schemaLocationattribute of an <strong>XML</strong> document to a local copy of the schema. For example if the <strong>XML</strong> document specifies the schemawith:

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

Saved successfully!

Ooh no, something went wrong!