IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

Input Method

Provides input to the parser.

Syntax

[VB.NET]
Public Sub Input(ByVal Text As String)
[C#]
public void Input(string text);

Remarks

The parser gets the text input via the Text parameter. The Text is sent to the parser's state machine and appropriate events are fired as a result of the parsing process.

The events are fired only when qualifying conditions (such as, for example, the beginning of a new element) are met. In the meantime, text will be buffered internally.

When the parser is finally reset via the Reset method, all buffered text is flushed out through the Characters event.

Since XMLp can be used to parse XML fragments, the internal buffer will not be cleared until Reset is called. If you plan to use this method to parse multiple complete XML documents be sure to call Reset between calls.

Example (Parse an XML File)


XMLpControl.Input("xmldata")

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0