XML data as input to Visio / VBA

L

Lant

Can Xpath Query be used instead of SQL inside VBA code. I plan to use the
input from the XML to provide intelligent behavior to the shapes during the
drawing process. Was wondering if I could skip the XML to RDBMS translation.
 
C

Chris Roth [ Visio MVP ]

My guess, without fully understanding all of your abbreviations : ), is that
you just need a reference to the right .dll or type library. VBA can refer
to MSXML, but I don't know if Xpath is in there or not.

I have Visio 2003, and my machine has MSXML 5.0 installed. A quick search of
the object model turned up an "errorXPath" property, so maybe you're in
business.

--

Hope this helps,

Chris Roth
Visio MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top