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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Strip whitespaces - Can have one of the following values:• All - Strips all whitespace text nodes from source documents before any further processing, regardless of anyxml:space attributes in the <strong>XML</strong> source document.• Ignorable - Strips all ignorable whitespace text nodes from source documents before any further processing,regardless of any xml:space attributes in the <strong>XML</strong> source document. Whitespace text nodes are ignorable ifthey appear in elements defined in the DTD or schema as having element-only content.• None - Strips no whitespace before further processing.• Optimization level - Allows optimization to be suppressed in cases where reducing compile time is important, orwhere optimization gets in the way of debugging, or causes extension functions with side-effects to behaveunpredictably.• Allow calls on extension functions - If checked, calling external Java functions is allowed.• Validation of the source file - Available only for Saxon EE. It can have three values:• Schema validation - This mode requires an <strong>XML</strong> Schema and enables parsing the source documents withschema-validation enabled.• Lax schema validation - This mode enables parsing the source documents with schema-validation enabled ifan <strong>XML</strong> Schema is provided.• Disable schema validation - This means parsing the source documents schema-validation disabled.• Validation errors in the results tree treated as warnings - Available only for Saxon EE. If checked, all validationerrors are treated as warnings, otherwise they are treated as fatal.• Enable XQuery 1.1 support - If checked, Saxon EE runs the XQuery transformation with the XQuery 1.1 support.• Backup files updated by XQuery ("-backup:(on|off)") - If checked, backup versions for any <strong>XML</strong> files updatedwith XQuery Update will be generated.Updating <strong>XML</strong> Documents using XQueryUsing the bundled Saxon 9.3.0.5 EE XQuery processor <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> offers support for XQuery Update1.0. The XQuery Update Facility provides expressions that can be used to make persistent changes to instances of theXQuery 1.0 and XPath 2.0 Data Model. Thus, besides querying <strong>XML</strong> documents, you can modify them using the variousinsert/delete/modify/create methods available in the XQuery Update 1.0 standard.Just choose Saxon 9.3.0.5 EE as a transformer in the scenario associated with the XQuery files containing updatestatements and <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> will notify you if the update was successful.Using XQuery Update to modify a tag name in an <strong>XML</strong> filerename node doc("books.xml")//publisher[1]//book[1] as "firstBook"Querying Documents | 319

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

Saved successfully!

Ooh no, something went wrong!