Mulberry Classes Guide to Using the Oxygen XML Editor (v20.0)

Similar documents
How To Validate An Xml File Against A Schema Using Xmlspy

Sitecore guide building a blog

OUTLOOK WEB APP (OWA): MAIL

EPiSERVER Content Management System

Lab - Configure Browser Settings in Windows 8

ESRI stylesheet selects a subset of the entire body of the metadata and presents it as if it was in a tabbed dialog.

Oxygen XML Developer plugin

Working with Images 1 / 12

An Introduction to Google Chrome

USING THE BU BRAIN CLONE SCHEDULE OF CLASSES QUERY

Blackboard Learn: Basics

Configuring Optional and Advanced Tasks for External Content Integration

A Web-based XML Schema Visualizer José Paulo Leal & Ricardo Queirós CRACS INESCPORTO LA

Exchanger XML Editor - Transformations

User Manual and Programmers' Reference

Invoice Approval Guide

CREATE AN EKTRON MICRO-SITE

Dreamweaver is a full-featured Web application

Scheduling Reports Launch the Scheduling Tool... 1 Description... 1 Overview of Scheduling Components... 2

Dreamweaver is a full-featured Web application

Filename:QIM-DP-05-Approve Quality Reject and Set in Process Page 1 of 12

How to Export a Report in Cognos Analytics

Altova XMLSpy 2013 Tutorial

Planning User Manual

Poet Image Description Tool: Step-by-step Guide

User Manual and Programmers' Reference

Part A: Getting started 1. Open the <oxygen/> editor (with a blue icon, not the author mode with a red icon).

Oracle Cloud. Using the Oracle Mapper Release 16.4 E

ELECTRONIC FORMS SYSTEM (EFS)

Ticket Mail Merge Instructions for MS Word 2007 and 2010

XMLSpy 2005 Home Edition

Introduction to Topologi Professional Edition

Microsoft FrontPage Practical Session

1. In Outlook click on the blue (2013) or yellow (2010) File tab in the top left corner of the window. 2. Click on + Add Account

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

The TimePilot system: QuickBooks Pro Export

The following instructions cover how to edit an existing report in IBM Cognos Analytics.

Quark XML Author June 2017 Update for Platform with DITA

x ide xml Integrated Development Environment Specifications Document 1 Project Description 2 Specifi fications

Quark XML Author September 2016 Update for Platform with Business Documents

Oxygen Xsd From Xml File Visual Studio Generate Sample

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

Exercises Advanced Workshop Using Roxen Content Management System. Editing exercises using sandbox version of Roxen 4.5 site

Editing the Home Page

Quark XML Author October 2017 Update for Platform with Business Documents

Discovering Computers & Microsoft Office Office 2010 and Windows 7: Essential Concepts and Skills

Full Search Map Tab. This map is the result of selecting the Map tab within Full Search.

EGGERS ONLINE. Customer User Guide - Quoting

What's New in Oxygen XML Editor 20

Chancellor s Office Information Technology Services Corporate Information Management FIRMS Budget Review Hyperion Process

Editing Drupal 7 Sites. Basic page editing. June To begin editing, log in by clicking Login at the bottom of the homepage. Username.

Admissions & Intro to Report Editing Participants Guide

Development Authority of the North Country (DANC) Internet Mapping Application Instructions Public Viewer 1. Purpose. 2. Logging-in. 3.

M359 Block5 - Lecture12 Eng/ Waleed Omar

BES Operational Baseline Database User Guide Module 1 App, User, and POC Information

What is OU Campus? Log into OU Campus

Versions. Overview. OU Campus Versions Page 1 of 6

Introduction to IBM Rational HATS For IBM System i (5250)

Delivery Options: Attend face-to-face in the classroom or remote-live attendance.

Create a Questionnaire. Triangle

USER GUIDE. MADCAP FLARE 2017 r3. Import

A Guide to Automation Services 8.5.1

The New WebEOC (8.1) Guide for Users

Vizit Essential for SharePoint 2013 Version 6.x User Manual

A Guide to Quark Author Web Edition 2015

Revised: March 8 th, 2017 for Firefox 52.0

Getting Started Quick Start Guide

Course Alteration and Deletion

Display Systems International Software Demo Instructions

Using MindManager 8 for Windows with Microsoft SharePoint 2007 October 3, 2008

Creating a Web Presentation

TYPO3 Editing Guide Contents

Oracle SQL. murach s. and PL/SQL TRAINING & REFERENCE. (Chapter 2)

This quick reference guide is designed for consumers of the Program Dashboard and provides details on how to: Log in

Welcome to the CP Portal

Altova XMLSpy 2007 Tutorial

CCH INCORPORATED 05/03

COMP9321 Web Application Engineering

Uploading Files to CMS

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML

ORACLE USER PRODUCTIVITY KIT USAGE TRACKING ADMINISTRATION & REPORTING RELEASE SERVICE PACK 1 PART NO. E

Panopto - Creating Secondary Folders

Website Administration Manual, Part One

Access and Customize Your Enterprise Portal Page

Download Instructions

Document Management System User Guide

Microsoft Office 365 includes the entire Office Suite (Word, Excel, PowerPoint, Access, Publisher, Lync, Outlook, etc ) and an OneDrive account.

LimeSurvey User Guide to Creating Surveys

Introduction to Topologi Markup Editor , 2005 Topologi Pty. Ltd.

SITE MANAGEMENT, CHECKING AND PUBLISHING IN DREAMWEAVER MX 2004

Altova XMLSpy 2014 Tutorial

StarTeam File Compare/Merge StarTeam File Compare/Merge Help

User and Reference Manual

This Reporting Fragment will be sown on the Business Entity Details screen within OpenPages.

Evoq 9 Content Managers Training Manual

Comodo Chromium Secure Software Version 36.1

Mail Merge. To Use Mail Merge: Selecting Step by Step Mail Merge Wizard. Step 1:

Getting Started with SitePal TM

DB2 for z/os Stored Procedure support in Data Server Manager

SharpSchool Chapter 7 USER MANUAL EXTERNAL LINK PAGE For more information, please visit:

Transcription:

Mulberry Classes Guide to Using the Oxygen XML Editor (v20.0) Mulberry Technologies, Inc. 17 West Jefferson Street, Suite 207 Rockville, MD 20850 Phone: 301/315-9631 Fax: 301/315-8285 info@mulberrytech.com http://www.mulberrytech.com Version 1.8 (March 23, 2018) Copyright 2015-2018 Mulberry Technologies, Inc.

Mulberry Classes Guide to Using the Oxygen XML Editor (v20.0) Exhibits Exhibit 1: Guide to Using Oxygen XML Editor (v20.0)......................... 1 Page i

Page ii

Exhibit 1 Guide to Using Oxygen XML Editor (v20.0) NOTE: This is a reference, not a list of instructions! Oxygen is both an XML editor and a development tool. We will be using it to run XML transforms using XSLT, to validate documents according to a DTD or schema, and to run Schematron, XQuery, XSLT-FO, and other processes. Key Oxygen Icons check well-formedness (blue checkmark) validate document (red checkmark) associate schema (red push pin) apply transformation scenario (triangle in circle) configure transformation scenario (wrench) XPath 2.0 search window Open Oxygen XML Editor Double click the icon Naming Files When you create a file, it is considered best practice to name your files using the following file extensions: XML filenames end in.xml XSLT filenames end in.xsl XML Schema filenames end in.xsd page 1

DTD filenames end in.dtd DTD modules (DTD fragments) end in.ent or.mod Schematron filenames end in.sch PDF files end in.pdf HTML an XHTML files end in.html or.htm RELAXNG files end in.rng Create a New XML Document 1. First Time Opening Oxygen If a Welcome to Oxygen screen appears, under Create New Choose New Document Choose XML Document Then finish as explained below If there is no Welcome to Oxygen screen, on the top bar choose File Choose New Under New Document, choose XML Document Then finish as explained below 2. If Oxygen is Already Open On the top bar choose File Choose New Under New Document, choose XML Document Then finish as explained below 3. Finish New Document: Associate a Schema Click Customize On the fill-in line Schema URL:, click the small down arrow Choose Browse for local file page 2

An Open window will pop up Select the DTD, RNG, or XSD schema you want Click Open The Schema type and the Root element: should fill in automatically (If the Root element: does not show the correct root element, use the drop-down menu to scroll to the root.) Click Create Outline View (See the Tree) The Outline view shows the tree view of your document, and collapses and expands like a word-processing outliner by clicking on the plus right-facing triangles. Open your.xml document in Oxygen From the top line options choose Window Pull down to Show View Choose Outline Check XML Document for Well-formedness A well-formed XML document, follows all the syntax rules of XML Open your.xml document in Oxygen To the right of the red check mark is a tiny down-pointing arrow. Click that arrow and then choose the Well-formedness icon Test results show at the very bottom of the screen: A green box with the words Document is well formed tells you that the document is well-formed. A red box with words like Wellformed test - failed says there are errors. Each error will be described in the error window below the screen and by a red bar on the vertical status line. Clicking on the error message or the red bar will take you to the location of the error. page 3

Check XML Document for Validity If there is a schema associated with your document, click on the Validation icon ration.. For DTD validation, this means there is a DOCTYPE decla- If there is no schema associated, associate an XSD, RNG, or DTD schema with the document as follows: Click the Associate Schema Click on the folder icon icon just above the document the right of the URL: fill-in box Choose Browse for local file An Open window will pop up Select the DTD, RNG, or XSD schema you want Click Open Click OK to choose your DTD or Schema Click on the Validation icon Validation messages A green box on the bottom line with the words Validation successful will tell you that there were no parsing errors. A red box on the bottom line with words like Validation failed will tell you that you have errors. Each error will be described in the error window below the screen and by a red bar on the vertical the status line. Clicking on the error message or the red bar will take you to the location of the error. GO TO an Error in an XML File Each error is described at the bottom of the screen in an error window and as a red bar on the status bar to the right of the main window. Go directly to the error by: Clicking on the error message, or Clicking on the red bar page 4

See All of an Error Message Each error is described at the bottom of the screen in an error window and as a red bar on the status bar to the right of the main window. To see the full message you may: Right click on the error message and choose Show message, or Scroll the error bar Associate a Stylesheet (Run XSLT transform through Oxygen) To run a XSLT transformation (for example, to transform your XML into HTML that you can see in a browser): Open your XML document in Oxygen First time setup The first time you create the transform: Click on the Configure Transformation Scenario icon [a crescent wrench with small right-pointing red triangle] Click the New button near the bottom of the menu Then choose XML transformation with XSLT A New scenario window will pop up In the Name: fill-in, give your scenario a name Under the XSLT tab: Leave the XML URL alone (${currentfileurl} names the file that you have open) and choose the ap- In the XSL URL box, click on the open folder propriate.xsl stylesheet file Ignore the FO Processor tab Under the Output tab: Click Prompt for file Click OK Click the button Apply associated(1) page 5

You will be prompted for a file name (which will have your results in it) and a preview of your results will show in the bottom window Run an existing transform Two ways to run a transform that has already been set up: 1. For the last scenario used (where the scenario still has a check mark next to its name): Click on the Apply Transformation Scenario icon [large right pointing red triangle] The previously selected scenario will run 2. For a scenario listed among Oxygen's transforms, but not previously selected (no check mark next to the scenario name): Click on the Apply Transformation Scenario icon [large right pointing red triangle] A Transform With window will appear Choose the scenario you want (click on the name) Click Edit Look at the scenario to see what it is doing, then click OK Add a check mark to the left of the scenario you have selected (click in the box to the left of the name) Click the button Apply associated(1) Checking Selected Aspects using Schematron (This is one way; there are many others, including techniques for running Schematron against many files at one time.) Open your XML file in Oxygen Click on the small gray down-arrow just to the right of the Validate Document red check mark. Choose Validate with. In the Schema type tab, select Schematron. page 6

Choose the folder icon to the right of the URL box and navigate to the file that is your Schematron schema. Double click on that filename to choose the.sch file. Use relative paths. Click OK Any Schematron error (E [ISO Schematron]) and warning (W [ISO Schematron]) messages will appear in a window at the bottom of your screen; otherwise, you will see a green box and Validation successful message. Turn Content Completion On/OFF in Oxygen Select Options in the top bar Choose Preferences Scroll down to and click on Editor, then find Content Completion To turn Content Completion on: Select the top three items (other options will appear), select Apply, and then select OK To turn Content Completion off: Deselect the top three items (other options in the pane will then also be grayed out), select Apply, and then select OK To Pass a Global Parameter to a Stylesheet in Oxygen Often, we wish to pass global, externally-supplied parameters to XSLT transformations. This can be done when setting up or editing an Oxygen XSLT transformation. page 7

When constructing the transformation, select the Parameters button (near the bottom of the New Scenario window). A Configure parameters window will appear. If supplied in the XSLT code, the name of a parameter and its default value will be listed. (Oxygen knows to read the global parameter values from the XSLT code.) page 8

To change the value of the parameter, place the cursor on the desired parameter line, select it, and click the Edit button. An Edit parameter window will appear: In the Value: pane, select the text and type the desired value over the existing value, e.g., type the new value GERMAN over the existing value ENGLISH. (The value does NOT need quotation marks Oxygen will add those.) Click OK. The Configure parameters window will reappear and include the new default value. Click OK. page 9

The Edit scenario window will reappear and indicate that one parameter is now being passed in from Oxygen. Click OK to exit the transformation setup. page 10