When I run the code below I get the error: has an invalid token
Any suggestions?
Here is my code:
Any suggestions?
Code:
<?xml version="1.0"?> <root> <Japan>ユーザーおよび管理者</Japan> <English>'Guest' and "Administrator"</English> </root> <root> <Japan>........</Japan> <English>.............</English> </root>
Code:
// Create an XPathExpression string strEnglish = "'Guest' and \"Administrator\""; xPathExpr = nav.Compile( string.Format( "//root[English={0}\"]/Japan", strEnglish) );
Comment