xml_parse_lib
所属分类:xml/soap/webservice
开发工具:C/C++
文件大小:18KB
下载次数:21
上传日期:2008-05-29 16:56:11
上 传 者:
leo24
说明: xml_parse_lib_10_03_07.tgz xml解释器 的开发库,在简单的xml脚本应用中就够用了
(xml_parse_lib_10_03_07.tgz xml parser library development, in a simple xml script applications used enough)
文件列表:
xml_parse_lib\tests_and_examples\app.c (2080, 2007-03-22)
xml_parse_lib\tests_and_examples\test_general_parser.c (905, 2007-03-22)
xml_parse_lib\tests_and_examples\test_general_xml_generator.c (2609, 2007-03-22)
xml_parse_lib\tests_and_examples\test_xml_token_traverser.c (2294, 2007-03-22)
xml_parse_lib\unit_convertors.c (7868, 2006-12-07)
xml_parse_lib\xml_parse_lib.c (26931, 2007-10-03)
xml_parse_lib\xml_parse_lib.h (5456, 2007-03-22)
xml_parse_lib\xml_xsd_checker.c (5503, 2006-12-07)
xml_parse_lib\tests_and_examples (0, 2008-05-29)
xml_parse_lib (0, 2008-05-29)
XML Parse Lib - A set of routines for parsing and generating XML.
For Documentation and Usage Notes, see:
http://xmlparselib.sourceforge.net/
Files:
Readme.txt - This file.
xml_parse_lib.h - Headers. (Structures, data-types, & routine prototypes.)
xml_parse_lib.c - Core XML-parsing functions.
unit_convertors.c - Convenience routines for accepting, checking, or
converting common units.
xml_xsd_checker.c - Preliminary schema checker.
A directory of tests and examples is included under "tests_and_examples":
app.c - Simple stream-oriented (parse as-you-go) XML file reader
application.
test_general_parser.c - Reads XML-files into XML-tree and writes
them back out from tree.
test_general_xml_generator.c - Generates XML files for testing.
test_xml_token_traverser.c - Example of traversing an xml-tree, after
reading an xml-file into xml-tree.
Instructions for compiling and running the tests/examples are included
within the comment header of each program.
Public Low-level functions:
xml_parse( fileptr, tag, content, maxlen, linenum );
xml_grab_tag_name( tag, name, maxlen );
xml_grab_attrib( tag, name, value, maxlen );
Public Higher-level functions:
Xml_Read_File( filename );
Xml_Write_File( filename, xml_tree );
Throughout this library, all text and program source files assume tabs
are 8-spaces.
Xml_Parse_Lib.c - MIT License:
Copyright (C) 2001, Carl Kindman
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Carl Kindman 8-21-2001 carlkindman@yahoo.com
近期下载者:
相关文件:
收藏者: