struct InputSource in module com::sun::star::xml::sax::

(Global Index)

Syntax

struct InputSource;

Description

specifies the Datasource plus some additional information for the parser.

There are two places where the application will deliver this input source to the parser:

Field Summary

aInputStream contains the byte input stream of the document.

sEncoding contains the encoding of the data stream. This is used by the parser to do unicode conversions.

sPublicId constains the public Id of the document, for example, needed in exception-message strings.

sSystemId contains the sytemID of the document.

Field Details



aInputStream

Syntax

com::sun::star::io::XInputStream aInputStream;

Description

contains the byte input stream of the document.


sEncoding

Syntax

string sEncoding;

Description

contains the encoding of the data stream. This is used by the parser to do unicode conversions.

Note that in general you do not need to specify an encoding. Either it is UTF-8 or UTF-16 which is recognized by the parser or it is specified in the first line of the XML-File ( e.g. ?xml encoding="EUC-JP"? ).


sPublicId

Syntax

string sPublicId;

Description

constains the public Id of the document, for example, needed in exception-message strings.


sSystemId

Syntax

string sSystemId;

Description

contains the sytemID of the document.

Top of Page