DynamicDOM v0.43.2. Implementation based on XRules v0.43

XPathConvert.EmbeddedXPathEncode Method 

Encodes a string to avoid interpreting { and } characters as XPath expression boundaries.

[Visual Basic]
Shared Public Function EmbeddedXPathEncode( _ 
   ByVal text As String _ 
) As String
[C#]
public static string EmbeddedXPathEncode(
   string text
);
[C++]
public: static String* EmbeddedXPathEncode(
   String* text
);
[JScript]
public static function EmbeddedXPathEncode(
   String text
): String;

Parameters

text
Text to be encoded

Return Value

Encoded text with { and } converted to {{ and }} respectively.

See Also

XPathConvert Class | XRules.Utilities Namespace