View Single Post
  #3  
Old 06-27-2011, 07:20 PM
dgh dgh is online now
Registered User
 
Join Date: 04-17-2011
Posts: 14
Thanks for the references.

After spending an hour and a half trying to learn the inner workings of XPath I am only slightly wiser as to what ::::::: means. Everything I've read refers to ////////.

I tracked down some examples of WriteXML and the only one I found on this board is:

/nc:configuration/nc:system.web/nc:sessionState

It took me at least 15 minutes to discover what the /nc represented.

I've now used:
/nc:ItemGroup/nc:Reference[@Include='MCCommon']

and get this error:

Error in System (VBScript) script code at Line 27, Column 2 (Error expanding macros or script in property XPath: /nc:ItemGroup/nc:Reference<Error at Line 1, Column 1 (Invalid character)
Code: @Include='MCCommon'>)

I think I've tried every combination I can think of without luck.

Can someone please put me out of my misery ... thanks ...

EDIT ... OK ... I need [[ ]] and the value I was using to check was 'incomplete'. Seems I now need to learn RegEx and use 'Replace in File <sigh>.

Last edited by dgh; 06-27-2011 at 08:28 PM.
Reply With Quote