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 =
Leave a comment: