XdmSerializationSettings.EscapeUriAttributes PropertyXdmSerializationSettings.EscapeUriAttributes PropertyXdmSerializationSettings::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-attribute serialization parameter.

In HTML and XHTML output methods if the escape-uri-attribute property is set to yes, 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. In Text and XML output modes, this parameter is ignored. By default, this is set to no.