XSD traversal in VIM
Posted
by maayank
on Stack Overflow
See other posts from Stack Overflow
or by maayank
Published on 2010-06-14T16:00:05Z
Indexed on
2010/06/14
16:02 UTC
Read the original article
Hit count: 292
I use VIM as my text editor and I edit a lot of XML and WSDL files.
WSDL files have an XSD section. Is there some VIM plugin I can use to traverse the XSD types? i.e., if I have the following line and the caret is where the '|' sign is:
<xsd:element minOccurs="0" name="FooName" type="Magic|FooType"/>
and I press Ctrl+Alt+Foo (or some other magic combo) it will get me to the definition of MagicFooType, i.e.:
<xsd:complexType name="MagicFooType">
I couldn't find how to use ctags for this and all the other plugins that I could find are for imperative languages (i.e. Java). Is there some plugin/script to do the job?
© Stack Overflow or respective owner