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 logo that points to a JPEG image. You can place the notation in the XML file in the location where you want the logo. See http://www.w3.org/TR/REC-xml#Notations for more information on the notation element.

Note

 

A notation element is always described as a child of the schema element.

Diagram View

To 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 View

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

Apache AXIS

Develop and test Web service applications using Apache AXIS and Stylus Studio.

XSL and XSLT Tools

XSLT tools in Stylus Studio let you easily edit, debug, design and profile XSLT stylesheets using a powerful and intuitive graphical user interface.

Editing XSL Stylesheets

Learn how our powerful XSL stylesheet editor with built-in preview capabilities and synchronized visual and text-based stylesheet editors simplifies XSL and XSLT stylesheet development.

W3C XML Specifications

Learn about the official W3C XML specifications for XML, XSLT, XQuery, XPath, DOM, XML Namespaces, XInclude, XML Base, XPointer, WSDL and more.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member