Dave F.
2005-09-07 12:29:28 UTC
Hi
I'm trying to use the Xpath function Tokenize in a VBA subroutine.
I've no idea what the syntax is.
Is it part of the selectNodes command like similar functions such as
contain?
Or is it on it's own similar to what I've done below, but is incorrect?
Thanks for any help
Dave F.
Set MsDom = CreateObject("MSXML.DOMDocument")
MsDom.Load ("c:\dwgs\fx2005\steelx.xml")
MsDom.async = False
MsDom.setProperty "SelectionLanguage", "XPath"
Set zxc = MsDom.selectNodes("//uc[1]")
Str = zxc(0).Text
Str = [tokenize(Str, ", ")]
I'm trying to use the Xpath function Tokenize in a VBA subroutine.
I've no idea what the syntax is.
Is it part of the selectNodes command like similar functions such as
contain?
Or is it on it's own similar to what I've done below, but is incorrect?
Thanks for any help
Dave F.
Set MsDom = CreateObject("MSXML.DOMDocument")
MsDom.Load ("c:\dwgs\fx2005\steelx.xml")
MsDom.async = False
MsDom.setProperty "SelectionLanguage", "XPath"
Set zxc = MsDom.selectNodes("//uc[1]")
Str = zxc(0).Text
Str = [tokenize(Str, ", ")]