IParserPropertyBag.DecodeName Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Decodes the property name according to XML encoding conventions for XML identifiers.

HRESULT DecodeName(

Parameters

sz

[in] The property name to decode.

szOut

[out] The decoded property name.

pcchOut

[in/out]

Return Value

The IParserPropertyBag methods return typical HRESULT values. In general, the method should return a positive OK value when successful or a negative FAIL value when unsuccessful.

Remarks

Decodes non-alphanumeric characters, such as spaces, from the following format:

_xHHHH_

Where HHHH is the hexadecimal representation of the corresponding Coordinated Universal Time (UTF) 16 character string. For example, the string "two_x0020_words" would be decoded as "two words."

See Also

Reference

IParserPropertyBag Class

Concepts

Custom Document Parsers

Document Parser Interface Overview