PHP Classes

File: xmlparser_loadfsm.fsm

Recommend this page to a friend!
  Classes of Dmitry A. Kirilin   FSM Parser   xmlparser_loadfsm.fsm   Download  
File: xmlparser_loadfsm.fsm
Role: Auxiliary data
Content type: text/plain
Description: FSM program for XML parser
Class: FSM Parser
Generic parser using finite state machine
Author: By
Last change:
Date: 18 years ago
Size: 328 bytes


Class file image Download
CDATA /</ TAG_OPEN CDATA /<\/\w+\s*>/ return ClosingTag($STRING); CDATA /./s echo $STRING; TAG_OPEN /[\w_]+/ IN_TAG return BeginTag($STRING); IN_TAG /[\w_]+/ return GetSimpleAttr($STRING); IN_TAG /[\w_]+=[\'"][^\'"]*[\'"]/ return GetValueAttr($STRING); IN_TAG /\/?>/ CDATA return EndTag($STRING);