XML plug-in: Difference between revisions
Instructor (talk | contribs) No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 15: | Line 15: | ||
'''Features:''' | '''Features:''' | ||
*Read and/or | *Read and/or modify xml files | ||
*XPath expressions support | *XPath expressions support | ||
*Unicode UTF-8 support | *Unicode UTF-8 support | ||
Line 21: | Line 21: | ||
*Support for condense and non-condense white spaces | *Support for condense and non-condense white spaces | ||
*Row and Column tracking | *Row and Column tracking | ||
== TODOs == | |||
x64 support. Currently building on VS2010 Pro results in following errors ( and bunch of warnings ): | |||
Warning 1 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\users\linards\downloads\xml\source\lex_token.h 120 1 xml | |||
Warning 2 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\users\linards\downloads\xml\source\xpath_syntax.h 48 1 xml | |||
Warning 3 warning C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 630 1 xml | |||
Warning 4 warning C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 649 1 xml | |||
Warning 5 warning C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 662 1 xml | |||
Warning 6 warning C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 691 1 xml | |||
Warning 7 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 737 1 xml | |||
Warning 8 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 739 1 xml | |||
Error 9 error C2664: 'TinyXPath::o_xpath_node' : cannot convert parameter 3 from 'TiXmlNode *' to 'const TiXmlNode *&' C:\Users\linards\Downloads\XML\Source\xml.cpp 858 1 xml | |||
Error 10 error C2664: 'TinyXPath::o_xpath_attribute' : cannot convert parameter 3 from 'TiXmlAttribute *' to 'const TiXmlAttribute *&' C:\Users\linards\Downloads\XML\Source\xml.cpp 875 1 xml | |||
... any help fixing them highly appreciated! | |||
[[Category:Plugins]] | [[Category:Plugins]] |
Latest revision as of 16:45, 22 October 2012
Author: Instructor (talk, contrib) |
Links
Download v2.0:
Xml.zip (188 KB)
Discussion:
Forum thread
Description
XML plugin parses an XML document, and builds from that a Document Object Model (DOM) that can be read, modified and saved. XML plugin is based on TinyXml (2.5.3) and TinyXPath (1.3.1).
Features:
- Read and/or modify xml files
- XPath expressions support
- Unicode UTF-8 support
- "MSXML.DLL" independent
- Support for condense and non-condense white spaces
- Row and Column tracking
TODOs
x64 support. Currently building on VS2010 Pro results in following errors ( and bunch of warnings ):
Warning 1 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\users\linards\downloads\xml\source\lex_token.h 120 1 xml Warning 2 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\users\linards\downloads\xml\source\xpath_syntax.h 48 1 xml Warning 3 warning C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 630 1 xml Warning 4 warning C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 649 1 xml Warning 5 warning C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 662 1 xml Warning 6 warning C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 691 1 xml Warning 7 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 737 1 xml Warning 8 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Users\linards\Downloads\XML\Source\xml.cpp 739 1 xml Error 9 error C2664: 'TinyXPath::o_xpath_node' : cannot convert parameter 3 from 'TiXmlNode *' to 'const TiXmlNode *&' C:\Users\linards\Downloads\XML\Source\xml.cpp 858 1 xml Error 10 error C2664: 'TinyXPath::o_xpath_attribute' : cannot convert parameter 3 from 'TiXmlAttribute *' to 'const TiXmlAttribute *&' C:\Users\linards\Downloads\XML\Source\xml.cpp 875 1 xml ... any help fixing them highly appreciated!