User Profile

Collapse

Profile Sidebar

Collapse
Whileoflife
Whileoflife
Last Activity: Jun 15 '10, 06:47 AM
Joined: May 21 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Whileoflife
    replied to invalid token XPath expression
    Thanks nukefusion,
    I have function to generate concat for XPath:
    Code:
    private string GenerateConcatForXPath( string a_xPathQueryString )
    		{
    			string returnString = string.Empty;
    			string searchString = a_xPathQueryString;
    			char[] quoteChars = new char[] { '\'', '"' };
    			int quotePos = searchString.IndexOfAny( quoteChars );
    			if ( quotePos == -1 )
    			{
    				returnString =
    ...
    See more | Go to post
    Last edited by Whileoflife; May 22 '10, 02:36 AM. Reason: Update code

    Leave a comment:


  • Whileoflife
    started a topic invalid token XPath expression

    invalid token XPath expression

    When I run the code below I get the error: has an invalid token

    Any suggestions?
    Code:
    <?xml version="1.0"?>
    <root>
    <Japan>ユーザーおよび管理者</Japan>
    <English>'Guest' and "Administrator"</English>
    </root>
    <root>
    <Japan>........</Japan>
    <English>.............</English>
    </root>
    Here is my code:...
    See more | Go to post
No activity results to display
Show More
Working...