Sunday
Jan242010
Enable Visual Studio Intellisense for DocBook
Sunday, January 24, 2010 at 11:36AM You can easily plug in XML Schemas to enable Intellisense for certain XML namespaces and file extensions. DocBook includes all of the necessary schemas, so all that's required is a schema catalog.
To make it a little easier, I put together a ZIP file that contains everything you need.
Just unzip it to one of the following locations, depending on your version of Visual Studio:
- Visual Studio 2005
C:\Program Files\Visual Studio 8\Xml\Schemas - Visual Studio 2008
C:\Program Files\Visual Studio 9.0\Xml\Schemas - Visual Studio 2010
C:\Program Files\Visual Studio 10.0\Xml\Schemas
DocBook Intellisense will be enabled for files with the docbook extension. If your solution contains DocBook files, you can simply right-click and choose “Open With…” then select “XML Editor”.
Enjoy!
tagged
docbook,
visual studio,
xml
docbook,
visual studio,
xml
Reader Comments (7)
Uuh...
That's... fast!
Thanks a lot!
You're welcome! Apologies for not updating it for 5.0 sooner. I haven't used DocBook in a while, so I wasn't aware that I new version had been released.
Well, in fact I have to apologise; after having a closer look at it, it became pretty clear that I could have done it easily by myself. Sorry I let others do the dirty work.
And therefore thanks again!
Nice post, I'm also interested in using the .NET toolchain to process docbook documents. For now I use only Java tools (ANT, Xalan, Eclipse, etc). Could you tell me what do you use to process your docbook?
Kris,
I haven't used DocBook in a while, so my memory is probably a little fuzzy at this point. I used Visual Studio to write the DocBook files, but I don't have any kind of project system for them, unfortunately. To transform them, I used xsltproc, which I remember being a pain to set up on Windows because it had its dependencies strung out all over the place. Sorry, but I don't remember where exactly I got them. Later on, I wrote a simple .NET app called XTransform to replace xsltproc, but I never got around to testing it because the project I was writing documentation for was cut. I think I still have XTransform on an old backup drive and could send you a copy if you're interested.
David,
thanks, I'm really interested in the XTransform tool. I hope to get this thing running, so that you could publish Docbook projects using MSBuild integrated in VS. Another path to explore may be nxslt3, but I haven't tried that one either.
thanks a lot,
Warezone Christian Louboutin Shoes and Pandora Jewelry, lets you send Pandora charm, you may need to Zumba Fitness DVD or P90X or Insanity Workout DVDvideo tutorial, creating unique Fitness.Christian Louboutin Knockoffs,Christian Louboutin Wedding Shoes,
Christian Louboutin Boots,Christian Louboutin Sandals,Christian Louboutin Wedges,Christian Louboutin Platform,P90X DVD,DVD Sales,Vibram Five Fingers,Herve Leger,Cheap Christian Louboutin,Alexander Wang Dress,Alexander Wang Shoes,Alexander Mcqueen Shoes,Giuseppe Zanotti Shoes,ED Hardy Shoes,Jimmy Choo Shoes,Chanel Shoes,YSL Shoes,Manolo Blahnik Shoes,Vivienne Westwood Shoes,Tory Burch Shoes,Louis Vuitton Shoes,Miu Miu Shoes,Salvatore Ferragamo Shoes,Marc Jacobs Shoes,Christian Dior Shoes,Herve Leger,Sergio Rossi Shoes,Lanvin Shoes,Coach Shoes,Prada Shoes,Gucci Shoes,Moncler Jackets,MBT Shoes