BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in XML

 
 
Page 11512 of 19381

VS2005 XML Editor rocks! Navigating type definitions from instance documents!

Blogger : Daniel Cazzulino
All posts : All posts by Daniel Cazzulino
Category : XML
Blogged date : 2006 Jun 09

Today, I was working on some GAXsoftware factory stuff. I just couldn't remember if a particular element I had at hand in an instance document supported xs:anyAttribute or not in the corresponding schema. So I though "how handy it would be if I could press F12 (Go to Definition) and be taken to the schema for it". I tried it:

XmlEditorGoToDefinition.png

Imagine my surprise when I saw:

XmlEditorGoToDefinition2.png

Quite unexpected for me, I was presented with the XSD for the document with the relevant element definition focused under the cursor! Now, the element happens to he a ref to the definition which is somewhere else. So I thought "how handy it would be if I could press F12 and be taken to the definition of that referenced element". I tried it:

XmlEditorGoToDefinition3.png

And I was inmediately taken to:

XmlEditorGoToDefinition4.png

Simply amazing. I didn't know about this feature. What's more, you can use Ctrl+[minus sign] to navigate back, just like you do when you F12 to definitions in any code window.

Impressive job, XML team. Thank again!!!!!!


Read comments or post a reply to : VS2005 XML Editor rocks! Navigating type definitions from instance documents!
Page 11512 of 19381

Newest posts
 

    Email TopXML