XmlParser API: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
</ul>
</ul>


The following <var>Type</var> definitions are also provided for the <var>XmlParser</var> API:
==Type definitions==
The <var>XmlParser</var> API also includes the <var>XmlStartHandler</var>, <var>XmlEndHandler</var>, and <var>XmlPIHandler</var> <var>Type</var> definitions.


===The XmlStartHandler Type===
<p class="code">Type  XmlStartHandler:
<p class="code">Type  XmlStartHandler:
Function (Xmlparser):lambda( -
Function (Xmlparser):lambda( -
Line 19: Line 21:
   %Attrlist Is Object XmlAttributeList, -
   %Attrlist Is Object XmlAttributeList, -
   %namespace Is Unicode) -
   %namespace Is Unicode) -
Is Object XmlSelector
Is Object XmlSelector </p>


Type  XmlEndHandler:
===The XmlEndHandler Type===
<p class="code">Type  XmlEndHandler:
Subroutine (Xmlparser):lambda( -
Subroutine (Xmlparser):lambda( -
   %name Is Unicode NaneRequired, -
   %name Is Unicode NaneRequired, -
Line 29: Line 32:
   %namespace Is Unicode, -
   %namespace Is Unicode, -
   %attrlist Is Object XmlAttributeList, -
   %attrlist Is Object XmlAttributeList, -
   %elementStartPos Is Float)
   %elementStartPos Is Float) </p>


Type  XmlPIHandler:
===The XmlPIHandler Type===
<p class="code">Type  XmlPIHandler:
Subroutine (Xmlparser):lambda( -
Subroutine (Xmlparser):lambda( -
   %target Is Unicode NaneRequired, -
   %target Is Unicode NaneRequired, -

Revision as of 21:02, 6 March 2013

This page is under construction.

The best resource currently available for the XmlParser class is the PDF of a presentation given in 2010.

The following pages are available; each shows all methods in the class, their arguments and results:

Type definitions

The XmlParser API also includes the XmlStartHandler, XmlEndHandler, and XmlPIHandler Type definitions.

The XmlStartHandler Type

Type XmlStartHandler: Function (Xmlparser):lambda( - %name Is Unicode NaneRequired, - %tagStartPos Is Float, - %tagEndPos Is Float, - %Attrlist Is Object XmlAttributeList, - %namespace Is Unicode) - Is Object XmlSelector

The XmlEndHandler Type

Type XmlEndHandler: Subroutine (Xmlparser):lambda( - %name Is Unicode NaneRequired, - %tagStartPos Is Float, - %tagEndPos Is Float, - %text Is Unicode, - %namespace Is Unicode, - %attrlist Is Object XmlAttributeList, - %elementStartPos Is Float)

The XmlPIHandler Type

Type XmlPIHandler: Subroutine (Xmlparser):lambda( - %target Is Unicode NaneRequired, - %tagStartPos Is Float, - %tagEndPos Is Float, - %instruction Is Unicode)