|
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.
|

Cart

