|
Home > Online Product Documentation > Table of Contents > Defining Notations Defining Notations
A notation is an unparsed entity. It is a name for something that you cannot express in terms of XML. For example, suppose you have an XML file that represents a press release. You can define a notation named
Diagram ViewTo define a notation:
1. Right-click the
schema node
2. In the shortcut menu, select
Add >
Notation.
Alternatives: This operation is also available from the
XMLSchema >
Diagram >
Add > AttributeGroup menu and from the
Add button
The new notation is added to the XML Schema. It is displayed in the diagram and in the text pane (if you have it open). The properties for the new notation are displayed in the Properties window.
3. Specify the details of the notation node in the
Properties window.
Tree ViewTo define a notation:
1. Click the
schema node.
2. In the left tool bar, click
New Notation
3. In the field that Stylus Studio displays, enter the name of the notation.
4. In the
Properties window, double-click the
Public ID field and enter the public ID. The public ID is a unique string that refers to the location of the external data, but it leaves the resolution of the location to some interpretations, for example,
MyCompany//LOGO//JPEG.
5. In the
Properties window, double-click the
System ID field and enter the system ID. The system ID is the URL that Stylus Studio uses to physically locate the external data, for example,
http://www.mycompany.com/mylogo.jpg.
|
Writing Custom XML Adapters
There are cases where the input format is too complicated for Convert to XML, or both reading and writing of the file format is needed. This section will take you through the process of writing a medium-sized adapter in Java.
XML Schema Documentation Generator
Stylus Studio's XML Schema Editor includes an integrated XML Schema documentation generator, allowing you to easily publish XML content models defined in XML Schema in a convenient, HTML format. A screenshon of the XML Schema Editor is shown here.
Saxon XSLT Processor
Stylus Studio® has partnered with Saxonica, a leading provider of Java-based XSLT and XQuery processing components to offer a robust XSLT 1.0 and 2.0 development environment, featuring development and deployment using the Saxon XSLT processor.
ADO to XML
The Stylus Studio ADO to XML data coversion wizard simplifies extracting of relational data into any XML format.