Table 7-1 lists the samples and their descriptions. %MB% represents the installation directory of Sybase Message Bridge for Java™.
Name |
Description |
Location |
---|---|---|
Any Content |
Demonstrates the generated code from a DTD with elements that have type ANY as the content |
%MB%\samples\dtd\any_content |
Attributes (DTD) |
Demonstrates the generated code from a DTD with an element that has attributes. See also the Attributes (XML Schema) example. |
%MB%\samples\dtd\attributes |
Attributes (XML Schema) |
Demonstrates the generated code from an XSD with an element that has attributes. See also the Attributes (DTD) example. |
%MB%\samples\xsd\attributes |
Bookstore |
Demonstrates the following DTD-related features:
|
%MB%\samples\dtd\bookstore |
Build XML |
This example uses the generated code associated with a DTD to construct a new XML document instance from scratch. |
%MB%\samples\misc\build_xml |
Datatypes |
This example shows how the generated code represents (and provides access to) primitive data types in XML Schema. |
%MB%\samples\xsd\datatypes |
Mixed Content |
Demonstrates the generated code from a DTD which specifies a sequence of elements and character data. |
%MB%\samples\dtd\mixed_content |
Recursive |
Demonstrates the generated code from a DTD in which an element is nested recursively. |
%MB%\samples\dtd\recursive |
SOAP Envelope |
Demonstrates parsing and navigation of data carried in a SOAP message. |
%MB%\samples\xsd\soap |
Stock Portfolio |
Demonstrates the following XSD-related features:
|
%MB%\samples\xsd\stock_portfolio |
View |
Demonstrates the generated code from a view. |
%MB%\samples\dtd\view |
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |