xmlparse
Username:  
Password:
  > Home
> User Guide
v Reference
    > Introduction
    > CROFT
    > BEE Variables
    > BEE Syntax
    v BEE Commands
       > Variable Operations
       > Conditional
       > Loop
       > Module Calling
       v Remote Calling
          o connector
          o call
          o xmlparse
       > Authentication
       > Data Access
       > Socket
       > Special Functions
    > Database Operation
    > Content Management
    > Objects and Classes
    > Interface with others
    o Glossary
> Portal Object
> Development Guide


Shortcuts
sys Class
debug Class
Intrinsic Conversions
>> Reference >> BEE Commands >> Remote Calling >> xmlparse <=  =>      <  1  >  
xmlparse – parse an XML document

BEE Script:   xmlparse string [xml=class] [index=class];

 

BEE Tag:     <beexmlparse string [xml=class] [index=class]>

 

The "xmlparse" command parse the XML document contained in the string and create an XML class variable and an optional index class variable.  These two variables should not be accessed directly.  They should be passed to an XML object which encapsulate the XML operation.

In fact, the "xmlparse" command itself should not be directly accessed as well.  The constructor of the XML object (contained in "common/xml.bs") will parse the XML document for you.

Parameters

xml specifies the name of the "xml" class, which contains in each variable an XML construct, such as XML tag, element and CDATA.  The elements of such variable is the meta data and attribute of the XML construct.  The default of the "xml" parameter is "xml".

index specifies the name of the "index" class, of which each variable correspond to an XML tag.  The name is the XML tag name, and the elements are keys that can be used to address the "xml" class as variable name for all occurrence of the XML tag.  (The "index" class is optional.)

 

Previous Page       Next Page

Accsoft Computer Technology Pty Ltd     ABN: 98 065 617 549
PO Box 892, Epping NSW 1710         Level 1, Epping Office Park, 242 Beecroft Rd, Epping NSW 2121, Australia
Tel: Sydney - (02)98691668     National - 1300-881668         Fax: (02)98691866
© Copyright 2003 Accsoft Computer Technology Pty Ltd