InfoQ

News

XML Schema Designer for Visual Studio 2008

Posted by Hartmut Wilms on Aug 28, 2007 02:12 PM

Community
.NET
Topics
Announcements
Tags
XML Schema,
Visual Studio

The XML Schema Designer is a graphical tool for working with XML Schemas (XSD). It is integrated with Visual Studio 2008 and the XML Editor.

The XML Tools Team has just announced the first CTP of the XML Designer, which features the XML Schema Explorer. The Schema Explorer helps navigate, search and edit XML Schemas.

Many industry schemas consists of more than a single XSD file. Such schemas are composed of a root file and several other files, which are referenced by the root. This set of files make up a schema set. The Schema Explorer shows this schema set including all imported and included schemas when an XSD is opened in the Visual Studio XML Editor.

Schema Tree

The Explorer shows the schema set in a tree structure. The nodes in the tree are synchronized with the elements, types and attributes of the corresponding file in the XML Editor. Thus you may jump from the explorer (via double click) to the editor and vice versa (via "Show in XML Schema Explorer" context menu item). The tree is structured on the following levels in descending order: schema set, namespaces, files, and global nodes:

XML Schema Designer

Filter and Sort

Filter and sort options are available on the Schema Explorer toolbar. You may filter namespaces, files and compositors such as 'sequence', 'choice' and 'all'. Nodes may be sorted by name, type and document order within the tree structure.

Navigation

Each node features a context menu that allows for navigating in the schema tree. You might "Go To The Type Definition" or "Go To Referenced Element".

Search

The Schema Explorer offers two ways of searching within a schema set: text search and schema-aware search. The text search allows for searching by keywords. All matches are highlighted within the tree. In addition tick marks are placed on the scroll bar in order to easily navigate to all matches. The match count is announced in the explorer's status bar, which also features 'back' and 'forth' buttons.

The schema-aware search takes the schema into account. For instance in large schema files it might be very difficult to identify the root elements of the schema. The Schema explorer offers a "Show possible root nodes" search. Another example is the "Show all derived types" search.


The use of the features is demonstrated in a short video. The XML Team is planning for additional features, such as graphical views, which visualize the relationships between types and namespaces and type associations.

7 comments

Reply

  1. Back to top

    Visual Studio

    Nov 24, 2007 9:57 PM by Nikolai Ivanov

    Microsoft did a great job with Visual Studio development environment. I fear that soon programmers would not be needed as anyone would be able to create programs by putting together "building blocks". http://www.1qcc.com/unblock-websites.php

  2. Back to top

    Altova XMLSpy® 2008

    Dec 2, 2007 1:53 PM by Guest

    Altova XMLSpy® 2008 includes a Schema/WSDL View that allows you to create schemas graphically. This way, you can focus on the semantics of your schema while leaving the syntactical details of the XML Schema language to XMLSpy® 2008 http://www.oled-display.info

  3. Back to top

    Re: Altova XMLSpy® 2008

    Jun 3, 2008 11:29 AM by ilkay cevik

    I've been working with selenium since last year and it´s great for web test. It´s true that ajax have been a problem for selenium but the extensibility allows anything. The posibility of implemet new commands have allowed me, and my company, to solve the problems implementing personalized comands. Selenium: It works... and if it doesn´t you could make it work! Thanks from: Las Vegas Entertainment Stress Management Best Web Hosting

  4. Back to top

    Re: Re:

    Jul 16, 2008 6:56 PM by can enis

    Thanks for article

    Bedük

  5. Back to top

    yuzlerce insan gordum ing

    Jul 29, 2008 1:27 PM by lusi mayk

    The big news is a commitment from all the parties to not patent any of them, nor let sohbet oyun indir program facebook chatanyone try to appropriate the IP and patent it without OpenID's consent.

  6. Back to top

    Good luck guys

    Aug 23, 2008 3:19 PM by mehmet andpaur

  7. Back to top

    mayk

    Aug 30, 2008 6:25 AM by lusi mayk

    The big news is a commitment from all the parties to not patent any of them, nor let bedava sohbet oyun indir program indir oyun indir chatanyone try to appropriate the IP and patent it without OpenID's consent

Exclusive Content

Typemock: Past, Present and Future

Eli Lopian of Typemock answers a few questions on Typemock origins and where Typemock is headed.

Agile in Practice: What Is Actually Going On Out There?

Scott Ambler talks about actual data resulting from surveys made during 2006-2008, showing how Agile is perceived and implemented within organizations.

Building Smart Windows Applications

From QCon 2008, Daniel Moth presents on using Visual Studio 2008 and .NET 3.5 to create compelling rich Windows applications.

Joshua Kerievsky about Industrial XP

Joshua Kerievsky, founder of Industrial Logic, talks about Industrial Extreme Programming which extends XP by including practices dealing with management, customers and developers.

Jeff Barr Discusses Amazon Web Services

Amazon Web Services (AWS) Evangelist Jeff Barr discusses SimpleDB, S3, EC2, SQS, cloud computing, how different Amazon services interact, origins of AWS, AWS globalization and the March AWS outage.

More Than Just Spin (Up) : Virtualization for the Enterprise and SaaS

Cloud services have helped bring virtualization to the forefront. Its full power however, also includes other benefits such as high availability, disaster recovery, and rapid provisioning.

Ruby Beyond Rails

John Lam talks about his path to dynamic languages, some of the problems of making IronRuby run fast, and how the DLR helps with implementing languages.

VMware Infrastructure 3 Book Excerpt and Author Interview

VMware Infrastructure 3: Advanced Technical Design Guide and Advanced Operations Guide provides a wealth of practical insights into setting up virtualization in todays corporate environments.