XMLWriter.LookupPrefix

Syntax:

LookupPrefix(<NamespaceURI>)

Parameters:

<NamespaceURI> (required)

Type: String.
A namespace URI that a prefix should be found for.

Returned value:

Type: String; Undefined.
If no prefix found (no namespace URI correspondence written) Undefined is returned.

Description:

Searches for a prefix for namespace URI specified.

Availability:

Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Note:

The prefix should be corresponding to the namespace specified with XMLWriter.WriteNamespaceMapping or XMLWriter.WriteAttribute.

    

1C:Enterprise Developer's Community