Below are screen shots showing various activities being performed in XRay.
Click on the thumbnails to see a larger view.
 |
Well-formed Editor
Well-formed XML document in a single document window. Green in the
status area below the window indicates that the document conforms to W3C XML
well-formedness constraints. |
 |
Error Detection and Reporting
XML document with an error (start tag does not match the end tag). Error
indicator below window turns red indicating an error and describing it in
detail. Clicking on the error window takes you to the row and column of the
error. |
 |
XML Schema (XSD) Support
XML Schema document in a document window.
Notice that the error area is green, indicating that the document is valid
according to the W3C XML Schema specification. Notice, also, that the status
line at the bottom of the window shows that it has recognized an XSD schema
and loaded it into the XML Schema catalog (described below). |
 |
XML Schema Catalog
XRay loads each XSD schema that it recognizes
into an internal catalog, making each schema available to all other windows
for instant, real-time validation. The catalog is made available by using
the XML Namespace declaration (xmlns) in a target XML document. |
 |
XML Schema Error Detection and Reporting
Validating errors in the schema are recognized by XRay and indicated in
the error area. |
 |
Valid XML Document Error Detection and Reporting
XRay has full built-in support for validating XML documents against XML
schemas. This screen shot shows an XML Schema document in the back window.
That document is registered in the XML Schema catalog with the XML
Namespace, "Weather Markup Language". The XML document in the foreground
shows how the document is linked to the schema using the XML Namespace
declaration, xmlns. This document, which is well-formed, is now in error,
because it does not match the schema. |
 |
Validation to XML Schema
Correcting the document kin the previous picture by correcting the
element name shows that the document is valid according to the schema. |
 |
Document Type Definition (DTD) Support
The DTD schema syntax is defined by XML 1.0. Any validating XML parser
must support the DTD, and XRay is no exception. XRay provides full support
for the DTD syntax. |
 |
XML Data Reduced (XDR) Schema Support
Microsoft created XML Data as a schema syntax and submitted it to W3C in
1998. Microsoft implemented a reduced flavor, XDR, in their XML parser as a
proof-of-concept schema syntax designed for use until W3C XML Schema was
adopted. XRay supports validating documents against an XDR schema. |
 |
Full Extensible Stylesheet Language Transformation (XSLT) Support
XRay implements the W3C XSLT version 1.0 specification in its entirety.
An XML document window that contains an XSLT program can be linked to a
transformation window so you can see the output in real time as you make
changes. |
 |
XSLT Transform Window
The XSLT Transform Window can be linked to an XML source document and an
XSLT program to show output in real time. The window shows the
transformation, which recalculates every time a keystroke is made in any
dependent window. This provides a fast way of learning XSLT because you can
see the resulting transformation instantly. |
 |
HTML View Window
XSLT is often used to transform your XML documents into HTML for viewing
in a Web browser. XRay contains an integrated HTML viewer that can be linked
to any open XRay window. In this screen shot, the HTML viewer is linked to
an XSLT transform, showing how the HTML will look in a Web browser. |
 |
Web Services Description Language (WSDL) Support
XRay provides full
support for WSDL, including recognizing an validating XML Schemas that are
embedded within. |
 |
XML Beautifier
XRay provides a facility for creating properly
indented XML documents. This is a real timesaver, allowing you to
concentrate on typing, instead of worrying about what the indenting looks
like. |
 |
Workspaces
If you work with XML, you will find that you use many different files.
These might include an XML document or two, plus schemas, XSLT
transformations, and other related documents. In order to keep all documents
together in a related group, you can use XRay workspaces. This screen shot
shows a workspace with ten different documents. A single XML document that
contains a magazine article. There are three XSLT programs, each of which
transform that single XML document into a different type of HTML. There are
three XSLT transformation windows and three HTML view windows that are
updated with each keystroke. |