XdmWriterSettings.EscapeUriAttributes PropertyXdmWriterSettings.EscapeUriAttributes PropertyXdmWriterSettings::EscapeUriAttributes Property

Gets or sets a value indicating whether URI escaping is enabled.

Syntax

Public Property EscapeUriAttributes As Boolean
        Get
        Set(ByVal value As Boolean)
public bool EscapeUriAttributes { get; set; }
public:
property bool EscapeUriAttributes {
    bool get();
    void set(bool value);
}
 

Property Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if URI escaping is enabled; otherwise falseFalsefalse.

Remarks

This property corresponds to the escape-uri-attributes serialization parameter.

In HTML and XHTML output methods if this property is set to trueTruetrue, then all attributes that must take URIs (for example the href attribute on the a tag) will have their values escaped as is performed by the fn:escape-html-uri function.

This property is ignored when MethodMethodMethod is not set to HtmlOutputMethodHtmlOutputMethodHtmlOutputMethod or XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod.