List of Figures

Chapter 1: The XMLSPY Game

Figure 1-1: Transforming XML into a variety of output formats using XSLT.
Figure 1-2: Common use of XML technologies in the enterprise.
Figure 1-3: The XML software development process.
Figure 1-4: An XML IDE, such as XMLSPY 5, provides XML development support and complements other software development tools.
Figure 1-5: The Altova Licensing Manager.
Figure 1-6: Requesting a free 90-day evaluation code requires a working Internet connection.

Chapter 2: Editing XML Documents with XMLSPY 5

Figure 2-1: XMLSPY 5 upon start-up.
Figure 2-2: The Create New Document dialog box.
Figure 2-3: XMLSPY can assign a DTD or an XML Schema to an XML document.
Figure 2-4: Creating a new XML document in XMLSPY.
Figure 2-5: The main toolbar contains buttons to quickly switch between different views.
Figure 2-6: A new XML document in Text view.
Figure 2-7: An XML element.
Figure 2-8: A sample attribute declaration.
Figure 2-9: The root element (<book>) contains all the child elements.
Figure 2-10: An empty element whose closing tag uses a shorthand notation.
Figure 2-11: Illegal and well-formed XML fragments.
Figure 2-12: Using XMLSPY’s well-formedness checker in Text view.
Figure 2-13: Default XML entity definitions and values are displayed in XMLSPY Text view.
Figure 2-14: Switching from Text view to Enhanced Grid view using the View menu.
Figure 2-15: A collapsed XML document shown in Grid view.
Figure 2-16: A section of the OrgChart.xml document displayed in Grid view.
Figure 2-17: The mapping of an XML document to a semantic table in Grid view.
Figure 2-18: Expanding a nested Person table of the Department table, from the OrgChart.xml document, using Grid view.
Figure 2-19: Mappings from the XML source listing to the semantic table highlighted in Figure 2-18.
Figure 2-20: Adding a new attribute to every <Person> element within the current semantic table.
Figure 2-21: Inserting an attribute and an element into a table. Columns starting with = correspond to attributes, and columns starting with greater< > correspond to elements.
Figure 2-22: Changing the ordering of child elements in Grid view.
Figure 2-23: Changing the <Email> Element to an attribute using Grid view.
Figure 2-24: Renaming an element from <Title> to <Job-Title>.
Figure 2-25: Sorting a sequence of <Person> elements by last name.
Figure 2-26: Exporting data from Grid view for use with any external Windows application.
Figure 2-27: Exporting XML data from XMLSPY’s Grid view to Microsoft Excel.
Figure 2-28: Converting text files to XML with XMLSPY.
Figure 2-29: Modifying the newly imported XML data in Grid view.
Figure 2-30: The Export to Text Files/Database dialog box.
Figure 2-31: The Export to Text Files dialog box.
Figure 2-32: A sample database schema showing relationships and cardinality.
Figure 2-33: The Database Import window.
Figure 2-34: Data imported from a relational database table.
Figure 2-35: The Export to Database window.
Figure 2-36: Exporting the OrgChart.xml file to a Microsoft Access database table.
Figure 2-37: The XMLSPY Project menu.
Figure 2-38: A new XMLSPY project displayed in the Project window.
Figure 2-39: Add a Web folder to the Project window.
Figure 2-40: A Properties window for either a project folder or the entire project.
Figure 2-41: A project to be used in conjunction with Microsoft Visual SourceSafe.
Figure 2-42: The Add to Microsoft SourceSafe Project window.
Figure 2-43: The Microsoft VSS Add File(s) window.
Figure 2-44: XMLSPY’s Project window, integrated with Microsoft VSS.
Figure 2-45: XMLSPY’s Project window indicates when a file has been checked out.
Figure 2-46: The Options configuration panel.

Chapter 3: DTD Editing and Validation

Figure 3-1: The project files for XMLSPY Handbook.
Figure 3-2: A representation of a book’s content model.
Figure 3-3: Defining a sequence of attributes in a DTD.
Figure 3-4: Assigning a DTD to an XML document.
Figure 3-5: XMLSPY automatically inserts the DTD at the top of the XML file.
Figure 3-6: The New File dialog box.
Figure 3-7: Open the DTD that you want to associate with the XML instance document.
Figure 3-8: XMLSPY offers intelligent editing support in both Text view and Grid view.
Figure 3-9: The Elements window displays all available elements.
Figure 3-10: A context-sensitive Attributes window shows attributes that are in scope.
Figure 3-11: The Entities window displays all available entities.
Figure 3-12: Troubleshooting an XML document with XMLSPY’s validator.
Figure 3-13: XMLSPY can autogenerate a content model from an instance document.
Figure 3-14: The Convert DTD/Schema window.

Chapter 4: Editing XML Schemas with XMLSPY

Figure 4-1: The XMLSPY Schema Overview page.
Figure 4-2: XML Schema–specific Entry Helper windows in the Schema Overview page.
Figure 4-3: XMLSPY’s Schema Overview page displays a tabular listing of all the XML Schema components defined in the current XML Schema file.
Figure 4-4: Viewing the ProductType schema component in the Schema Editing view.
Figure 4-5: Creating the Order element.
Figure 4-6: Declaring namespaces in an XML document.
Figure 4-7: Declaring a target XML namespace name that is unique, descriptive, and permanent.
Figure 4-8: Building the Purchase Order Schema in Schema Design view.
Figure 4-9: Assigning one of the XML Schema built-in data types to the Street1 simple type.
Figure 4-10: Inserting, appending, and deleting possible enumeration values for the State element.
Figure 4-11: Modularizing the Purchase Order Schema.
Figure 4-12: Declaring BillingAddress and ShippingAddress to be elements of type AddressType.
Figure 4-13: The completed Purchase Order Schema.
Figure 4-14: A schema diagram that shows additional component information such as type, derivedBy, and pattern.
Figure 4-15: The inheritance tree for the built-in XML Schema data types.
Figure 4-16: Generated documentation for the Purchase Order XML Schema example.

Chapter 5: Advanced XML Schema Development

Figure 5-1: Assigning or changing namespace prefixes in XMLSPY.
Figure 5-2: Changing the namespace prefix of a selected region in Grid view.
Figure 5-3: Including external XML Schema components belonging to the same namespace.
Figure 5-4: Autogenerating an instance document from an XML Schema.
Figure 5-5: A sequence compositor is used to define the Order element.
Figure 5-6: A choice compositor.
Figure 5-7: An all compositor graphically represented in Schema Design view.
Figure 5-8: Changing a compositor model in XMLSPY.
Figure 5-9: Adding a group component to an XML Schema.
Figure 5-10: Editing a named group construct using the Schema Design view.
Figure 5-11: Developing complex type definitions using groups as building blocks.
Figure 5-12: A Note element that references a choice group.
Figure 5-13: An all group, represented in XML Schema Design view.
Figure 5-14: Editing attribute groups in the Schema Overview page.
Figure 5-15: Extending complex types using XMLSPY.
Figure 5-16: Deriving complex types by restriction.
Figure 5-17: The modified order element of Order_5-09.xsd handles either Canadian or U.S. addresses.
Figure 5-18: Visual representation of substitution groups in XMLSPY.
Figure 5-19: Generating class files based on your completed XML Schema.
Figure 5-20: Annotating XML Schemas to work in conjunction with relational databases.

Chapter 6: Introduction to XSLT

Figure 6-1: XMLSPY IDE layout after the XSLT debugger has been started.
Figure 6-2: XMLSPY IDE layout after stepping into the XSLT sheet.
Figure 6-3: The XMLSPY IDE with the Evaluate XPath dialog box active.
Figure 6-4: The XPath Evaluation output.

Chapter 7: Advanced XSLT

Figure 7-1: XSLT architecture of building applications.
Figure 7-2: The Cocoon separation of logic, content, and style.
Figure 7-3: The Authentic separation of XML and XSLT to produce HTML.
Figure 7-4: Startup image of Stylesheet Designer.
Figure 7-5: Image of Stylesheet Designer with a loaded Schema document.
Figure 7-6: XMLSPY IDE with the XML document loaded.
Figure 7-7: XMLSPY with the XML document loaded; an error is represented by red text.

Chapter 8: Introduction to SOAP and WSDL

Figure 8-1: XMLSPY IDE layout after a new WSDL file has been selected.
Figure 8-2: Right-click the WSDL graphical editor.
Figure 8-3: The result of editing the operations in the WSDL graphical editor.
Figure 8-4: Adding the messages to the WSDL file.
Figure 8-5: Wiring the Web service together.
Figure 8-6: SOAP debugger XMLSPY IDE layout.
Figure 8-7: SOAP debugger hitting a request breakpoint.

Chapter 9: Altova XML Developer Certification

Figure 9-1: Breakdown of topics covered and the relative weight of each subject.

Appendix C: Regular Expression Primer

Figure C-1: The XMLSPY Regular Expression Builder.

The XMLSPY Handbook
The Official XMLSPY Handbook
ISBN: 764549642
EAN: 2147483647
Year: 2001
Pages: 121
Authors: Larry Kim © 2008-2017.
If you may any questions please contact us: