HTMLReader

Methods:

Close
OpenFile
SetString

Constructors:

Default

Description:

You can use it to read HTML data from a file or line. Automatically processes the HTML document declaration and detects the type of file encoding. Object must be used with the DOMBuilder.

Availability:

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

Example:

HTMLReader = New HTMLReader;
HTMLReader.SetString("<html><head><title>Text</title></head><body><a href='http://www.1c.ru'>1C Company</a></html>");
DOMBuilder = New DOMBuilder;
HTMLDocument = DOMBuilder.Read(HTMLReader);

See also:

Global context, method ReadXML
Global context, method CanReadXML
ExchangeMessageReader, method BeginRead
Global context, method GetXMLType
XDTOSerializer, method CanReadXML
XDTOSerializer, method GetXMLType
XDTOSerializer, method ReadXML
XDTOFactory, method ReadXML
DOMBuilder, method Read
DOMBuilder, method ReadWithContext
FullTextSearchList, method GetRepresentation

    

1C:Enterprise Developer's Community