Example

In an XML Schema, you might have a comment node such as the following:

<xsd:schema ...>
               

              
<!-- The following element is .... -->
                   
<xsd:element name="..."/>
                   

                

The contents of a comment node have meaning only when a person reads them. However, the contents of annotation nodes can be operated on. For example:

<xsd:schema ... > 
               

              
<xsd:element name="foo"> 
                   
<xsd:annotation> 
                   

                
<xsd:documentation language="en"> This is a <b>foo</b> element. Use it for ... </xsd:documentation> <xsd:documentation language="jp"> xksnjgfyre fvhfdbvhjds </xsd:documentation>
</xsd:annotation> 
                   
</xsd:element> 
                   
...
                   

                

You can apply an XSLT stylesheet to this XML Schema document. The stylesheet could generate an HTML manual by extracting the Documentation nodes in the desired language:

<xsl:stylesheet ... > 
               

              
<xsl:template match="xsd:element"> 
                   
<xsl:apply-templates select=
                   

                
"xsd:annotation/xsd:documentation[@language='en']"/>
</xsl:template> 
                   
... 
                   

                

Electronics & Electrical Equipment

Many electronics and electrical equipment companies need the most powerful XML IDE to power up their companies. Come see which electronics & electrical equipment companies are wired up with Stylus Studio 2006.

Validate XML Using XSD

You can validate XML documents against any data model defined using W3C XSD, using any major XSD Validator, including MSXML 3.0, MSXML 4.0, MSXML 6.0, Xerces-J, Xerces-C, Microsoft System.XML (1.0 and 2.0), XSV, the Saxonica XSD Validator and others.

Airlines, Aerospace and Defense

Want to know what airlines, aerospace and defense companies are soaring high with Stylus Studio 2006? Well now you can! Come check out these leading companies and soar with Stylus Studio 2006 yourself.

XQuery Talk

Join the XQuery Talk mailing list for a practical discussion about XQuery. It's a place to work together to learn a new language, talk about problem solutions, discuss engines and implementations, chat about the latest XQuery news and more.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member