Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: help with selectSingleNode >Thread Next - Re: help with selectSingleNode Re: help with selectSingleNodeTo: NULL Date: 6/4/2004 6:09:00 AM Hi Developer,
In fact, I've call the "selectSingleNode()" twice in my demo code, have you
seen them? In the second call , it is like
pSubNode =
pNode->selectSingleNode("//xs:element/xs:complexType/xs:sequence");
the path "//xs:element/xs:complexType/xs:sequence" is not from the top
level of the document , it is from the root of the
pNode element, you can compare it together with the first call of the
"selelctSingleNode" method which used to get the pNode elemtent. In
addition, I've also tested that if I use the following path , it will also
work:
pSubNode = pNode->selectSingleNode("//xs:sequence");
The "//xs:sequence" path seems means it will search for a child node whose
name is "xs:sequence" under the curent node.
Please check out the above things, if you still have anything unclear,
please feel free to post here. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
