- Parameters:
XML:file: XML:file_INFO- Returns:
- Parameters:
char: char_INFO- Returns:
- Parameters:
- Returns:
- XML
- Remarks: Creates a new set of rules for parsing XML files.
- Parameters:
XML:rule: XML:rule_INFO- Returns:
- Parameters:
XML:rule: XML:rule_INFOfilename[]: filename[]_INFO- Returns:
- Remarks: Now supports self-closing tags and XML comments.
- Parameters:
name[]: name[]_INFOtext[]: text[]_INFOdepth: depth_INFO- Returns:
- Remarks: Pushes an identifier and it's value (either explicitaly stated or returned from another function) to the stack with basic parent info.
- Parameters:
line[]: line[]_INFO&pos: &pos_INFO- Returns:
- Remarks: Gets the data from inside ""s in an identifier. Now supports \ for escape characters.
- Parameters:
line[]: line[]_INFO&pos: &pos_INFO- Returns:
- Remarks: Gets the text between tags.
- Parameters:
line[]: line[]_INFO&pos: &pos_INFO- Returns:
- Remarks: Gets the identifier of a piece of data.
- Parameters:
XML:rule: XML:rule_INFOname[]: name[]_INFOtagCount: tagCount_INFO- Returns:
- Parameters:
key[]: key[]_INFOvalue[]: value[]_INFO- Returns:
- Data found.
- Remarks: Pops items off the stack for use in custom functions.
- Parameters:
key[]: key[]_INFOvalue[]: value[]_INFO- Returns:
- Data found.
- Remarks: Does no poping, just searches for a value with the right name at the right depth so children can use the data if they HAVE to.
- Parameters:
XML:ruls: XML:ruls_INFOtrigger[]: trigger[]_INFOfunction[]: function[]_INFO- Returns:
- Parameters:
XML:rule: XML:rule_INFOtrigger[]: trigger[]_INFO- Returns:
- Parameters:
parent: parent_INFOtag[]: tag[]_INFOvalue[]: value[]_INFO- Returns:
- Parameters:
tag[]: tag[]_INFOname[]: name[]_INFO- Returns:
- Remarks: Starts the creation of a new tag to be written to a file, the structure has to be manually created then written. There is no buffering of multiple tags before writing as a single tag can have quite a bit of data.
- Parameters:
filename[]: filename[]_INFOitem: item_INFObool:bIncludeXML: bool:bIncludeXML_INFObool:bFavourShort: bool:bFavourShort_INFO- Returns:
- Remarks: Writea the data for a tag to a file.
- Parameters:
item: item_INFOFile:fHnd: File:fHnd_INFOdepth: depth_INFO- Returns:
- Remarks: Recursive function to write a tag and it's children to a file.
- Parameters:
item: item_INFOFile:fHnd: File:fHnd_INFOdepth: depth_INFO- Returns:
- Remarks: Recursive function to write a tag and it's children to a file. Writes tags in the shortest manner possible. This does make it slower however (not much though given the use of linked lists).
- Parameters:
file[]: file[]_INFOtag[]: tag[]_INFOname[]: name[]_INFO- Returns:
- Remarks: Does a replace on data in a file with no new data.
- Parameters:
file[]: file[]_INFOtag[]: tag[]_INFOname[]: name[]_INFOreplacement: replacement_INFO- Returns:
- Remarks: Replaces a tag's data with new data, basically changes a tag's value.