HighTechTalks DotNet Forums  

XPath-syntax: referencing node with " in attribute-value

Dotnet XML microsoft.public.dotnet.xml


Discuss XPath-syntax: referencing node with " in attribute-value in the Dotnet XML forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
 
Posts: n/a

Default XPath-syntax: referencing node with " in attribute-value - 10-26-2007 , 09:48 AM






Hello NG!

Within attribute-values i can use the double quote, which is written
automaticly
as """ into the document by the XML-methods of .NET:
<Node Name="a&quot;b" Att1="true"/>

But how to reference such nodes with an XPath-expression?
=> pXml.SelectSingleNode("//Folder[@Name=??]")

What's the correct Syntax?

Thanks for any help!
Regards, D.Barisch




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.