Creating Word Documents with XSLT
Referencing Assemblies

Documentation that shows up in the XML Editor

The XML Editor of Visual Studio 2005 shows the elements that are allowed according to the XML Schema. The editor not only shows the elements and attributes that are possible where the cursor is positioned, it also shows some documentation about the elements and attributes. The documentation can be written inside the schema with the <xsd:annotation> and <xsd:documentation> tags:

  <xs:element name="Book" minOccurs="0" maxOccurs="unbounded">
     <xs:annotation>
      <xs:documentation>Represents information about a book.</xs:documentation>
     </xs:annotation>

     <xs:complexType>
      <xs:sequence>
       <xs:element name="Title" type="xs:string">
        <xs:annotation>
         <xs:documentation>Represents the title of a book.</xs:documentation>
        </xs:annotation>

       </xs:element>
      
<!-- ... -->

Christian

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

coach outlet online

I agree you the up.As it give me the same some feeling!

Kenton

WOWjust what I was looking for. Came here by searching for aa

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)