File: ggxml.txt

package info (click to toggle)
generator-scripting-language 4.1.5-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,424 kB
  • sloc: ansic: 106,060; cpp: 2,232; pascal: 762; sh: 535; xml: 424; makefile: 194
file content (57 lines) | stat: -rw-r--r-- 2,302 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
MODULE: GSL/XML package

    Class: XML
    
        Function: XML . new ([name])
                Creates a free 'unattached' XML item.  In reality it is attached to the
    global variable ancestor, but only so that GSL can de-allocate it on
    termination.

    Therefore if the GSL script does not deallocate the item, it will remain
    until GSL shuts down.

        Function: XML . load_string (string,[error])
                Loads the supplied string as an XML item.
    Returns a pointer to the (first) resulting XML item or undefined if there
    was an error.  In the latter case, an error message is placed in the
    parameter 'error' and in the XML thread context.

        Function: XML . load_file (filename,[error])
                Loads the file with the supplied name as an XML item.
    Returns a pointer to the (first) resulting XML item or undefined if there
    was an error.  In the latter case, an error message is placed in the
    parameter 'error' and in the XML thread context.


    Class: XML item
    
        Function: <XML item> . deleted ()
                Returns TRUE if the XML item has been deleted.

        Function: <XML item> . prev ()
                Returns the previous XML item.

        Function: <XML item> . string ()
                Returns the XML item formatted as a string.

        Function: <XML item> . load_string (string,[error])
                Loads the supplied string as a child of the item.
    Returns a pointer to the (first) resulting XML item or undefined if there
    was an error.  In the latter case, an error messa   ge is placed in the
    parameter 'error' and in the XML thread context.

        Function: <XML item> . load_file (filename,[error])
                Loads the file with the supplied name as a child of the item.
    Returns a pointer to the (first) resulting XML item or undefined if there
    was an error.  In the latter case, an error message is placed in the
    parameter 'error' and in the XML thread context.

        Function: <XML item> . save (filename,[error])
                Saves the XML item to a file with the given name.  Any file errors are
    places in the parameter 'error' and in the XML thread context.  Returns
    zero if no error occurred, errno otherwise.


    Class: XML value