How to parse XML in VBA

Posted by dev on Stack Overflow See other posts from Stack Overflow or by dev
Published on 2008-08-14T16:41:25Z Indexed on 2010/05/09 2:28 UTC
Read the original article Hit count: 209

Filed under:
|
|

Hi, I work in VBA, and want to parse a string eg

<PointN xsi:type='typens:PointN' 
xmlns:xsi='<http://www.w3.org/2001/XMLSchema-instance>' 
xmlns:xs='<http://www.w3.org/2001/XMLSchema>'><X>24.365</X><Y>78.63</Y></PointN>

and get the X & Y values into two separate integer variables.

I'm a newbie when it comes to XML, since I'm stuck in VB6 and VBA, because of the field I work in.

How do I do this?

© Stack Overflow or respective owner

Related posts about Xml

Related posts about vba