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 | 71• Double click after the opening quote or before the closing quote of an attribute value - Select the whole attributevalue.Source ActionsThe following actions can be applied on the text content of the <strong>XML</strong> editor:•contextual menu of current editor > Source > Escape Selection ... - Escapes a range of characters by replacingthem with the corresponding character entities.•contextual menu of current editor > Source > Unescape Selection ... - Replaces the character entities withthe corresponding characters.•contextual menu of current editor > Source > Indent selection (Ctrl + I) ( (Cmd + I on Mac OS)) - Correctsthe indentation of the selected block of lines if it does not follow the current indenting preferences of the user.•contextual menu of current editor > Source > Format and Indent Element (Ctrl + Shift + I) - Pretty printsthe element that surrounds the caret position.•contextual menu of current editor > Source > Insert XInclude - Shows a dialog that allows you to browseand select the content to be included and generates automatically the corresponding XInclude instruction.•contextual menu of current editor > Source > Import entities list - Shows a dialog that allows you to selecta list of files as sources for external DTD entities. The internal subset of the DOCTYPE declaration of your documentwill be updated with the chosen entities. For instance, if choosing the file chapter1.xml and chapter2.xml,the following section is inserted in the DOCTYPE:• contextual menu of current editor > Join and normalize - The action works on the selection. It joins the lines byreplacing the line separator with a single space character. It also normalizes the whitespaces by replacing a sequenceof such characters with a single space.<strong>XML</strong> Document ActionsThe Text mode of the <strong>XML</strong> editor provides the following document level actions:• contextual menu of current editor > Show Definition - Moves the cursor to the definition of the current elementin the schema associated with the edited <strong>XML</strong> document (DTD, <strong>XML</strong> Schema, Relax NG schema).• contextual menu of current editor > Copy XPath (Ctrl+Shift+.) - Copies the XPath expression of the currentelement or attribute from the current editor to the clipboard.• contextual menu of current editor > Go to Matching Tag - Moves the cursor to the end tag that matches thestart tag, or vice versa.• contextual menu of current editor > Go after Next Tag (Ctrl+]) - Moves the cursor to the end of the next tag.• contextual menu of current editor > Go after Previous Tag (Ctrl+[) - Moves the cursor to the end of the previoustag.•<strong>XML</strong> > Associate XSLT/CSS Stylesheet - Inserts an xml-stylesheet processing instruction at thebeginning of the document referencing either an XSLT or a CSS file depending on the user selection. Either referenceis useful for rendering the document in a Web browser when the action Open in browser is executed. Referencingthe XSLT file is also useful for automatic detection of the XSLT stylesheet when there is no scenario associatedwith the current document.When associating the CSS stylesheet, the user can also specify a title for it if it is an alternate one. Setting a Title forthe CSS makes it the author's preferred stylesheet. Selecting the Alternate checkbox makes the CSS an alternatestylesheet.<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> fully implements the W3C recommendation regarding Associating Style Sheets with<strong>XML</strong> documents. See also Specifying external style sheets in HTML documents.

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

Saved successfully!

Ooh no, something went wrong!