4.6 miscellaneous functions

Scheme function: xml-expat-version-string

Return the version of the expat library as a string.

For example:

 
(xml-expat-version-string) ⇒ "expat_2.0.1"
Scheme function: xml-expat-version

Return the version of the expat library as a triplet: ‘(major minor micro)’.

For example:

 
(xml-expat-version) ⇒ (2 0 1)
Scheme function: xml-default-current

Pass current markup to the default handler (see section default-handler). This function may be called only from a callback handler.

Scheme function: xml-error-string code)

Return a textual description corresponding to the code argument. See catching gamma-xml-error, for an example of using this function.

Scheme function: xml-current-line-number parser

Return number of the current input line in parser. Input lines are numbered from ‘1’.

Scheme function: xml-current-column-number parser

Return number of column in the current input line.

Scheme function: xml-current-byte-count parser

Return the number of bytes in the current event. Returns ‘0’ if the event is inside a reference to an internal entity and for the end-tag event for empty element tags (the later can be used to distinguish empty-element tags from empty elements using separate start and end tags).