亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? index.html

?? 一個小巧、好用的xml文檔 解析器
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>TinyXml: Main Page</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.7 --><div class="tabs">  <ul>    <li id="current"><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li><a href="annotated.html"><span>Classes</span></a></li>    <li><a href="files.html"><span>Files</span></a></li>    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>  </ul></div><h1>TinyXml Documentation</h1><p><h3 align="center">2.5.2 </h3><h1>TinyXML </h1><p>TinyXML is a simple, small, C++ XML parser that can be easily integrated into other programs.<p><h2>What it does. </h2><p>In brief, TinyXML parses an XML document, and builds from that a Document Object Model (DOM) that can be read, modified, and saved.<p>XML stands for "eXtensible Markup Language." It allows you to create your own document markups. Where HTML does a very good job of marking documents for browsers, XML allows you to define any kind of document markup, for example a document that describes a "to do" list for an organizer application. XML is a very structured and convenient format. All those random file formats created to store application data can all be replaced with XML. One parser for everything.<p>The best place for the complete, correct, and quite frankly hard to read spec is at <a href="http://www.w3.org/TR/2004/REC-xml-20040204/">http://www.w3.org/TR/2004/REC-xml-20040204/</a>. An intro to XML (that I really like) can be found at <a href="http://skew.org/xml/tutorial/">http://skew.org/xml/tutorial</a>.<p>There are different ways to access and interact with XML data. TinyXML uses a Document Object Model (DOM), meaning the XML data is parsed into a C++ objects that can be browsed and manipulated, and then written to disk or another output stream. You can also construct an XML document from scratch with C++ objects and write this to disk or another output stream.<p>TinyXML is designed to be easy and fast to learn. It is two headers and four cpp files. Simply add these to your project and off you go. There is an example file - xmltest.cpp - to get you started.<p>TinyXML is released under the ZLib license, so you can use it in open source or commercial code. The details of the license are at the top of every source file.<p>TinyXML attempts to be a flexible parser, but with truly correct and compliant XML output. TinyXML should compile on any reasonably C++ compliant system. It does not rely on exceptions or RTTI. It can be compiled with or without STL support. TinyXML fully supports the UTF-8 encoding, and the first 64k character entities.<p><h2>What it doesn't do. </h2><p>TinyXML doesn't parse or use DTDs (Document Type Definitions) or XSLs (eXtensible Stylesheet Language.) There are other parsers out there (check out www.sourceforge.org, search for XML) that are much more fully featured. But they are also much bigger, take longer to set up in your project, have a higher learning curve, and often have a more restrictive license. If you are working with browsers or have more complete XML needs, TinyXML is not the parser for you.<p>The following DTD syntax will not parse at this time in TinyXML:<p><div class="fragment"><pre class="fragment">	&lt;!DOCTYPE Archiv [	 &lt;!ELEMENT Comment (#PCDATA)&gt;	]&gt;</pre></div><p>because TinyXML sees this as a !DOCTYPE node with an illegally embedded !ELEMENT node. This may be addressed in the future.<p><h2>Tutorials. </h2><p>For the impatient, here is a tutorial to get you going. A great way to get started, but it is worth your time to read this (very short) manual completely.<p><ul><li><a class="el" href="tutorial0.html">TinyXML Tutorial</a></li></ul><p><h2>Code Status. </h2><p>TinyXML is mature, tested code. It is very stable. If you find bugs, please file a bug report on the sourceforge web site (www.sourceforge.net/projects/tinyxml). We'll get them straightened out as soon as possible.<p>There are some areas of improvement; please check sourceforge if you are interested in working on TinyXML.<p><h2>Related Projects </h2><p>TinyXML projects you may find useful! (Descriptions provided by the projects.)<p><ul><li><b>TinyXPath</b> (<a href="http://tinyxpath.sourceforge.net">http://tinyxpath.sourceforge.net</a>). TinyXPath is a small footprint XPath syntax decoder, written in C++. </li><li><b>TinyXML++</b> (<a href="http://code.google.com/p/ticpp/">http://code.google.com/p/ticpp/</a>). TinyXML++ is a completely new interface to TinyXML that uses MANY of the C++ strengths. Templates, exceptions, and much better error handling. </li></ul><p><h2>Features </h2><p><h3>Using STL </h3><p>TinyXML can be compiled to use or not use STL. When using STL, TinyXML uses the std::string class, and fully supports std::istream, std::ostream, operator&lt;&lt;, and operator&gt;&gt;. Many API methods have both 'const char*' and 'const std::string&amp;' forms.<p>When STL support is compiled out, no STL files are included whatsoever. All the string classes are implemented by TinyXML itself. API methods all use the 'const char*' form for input.<p>Use the compile time define:<p>TIXML_USE_STL<p>to compile one version or the other. This can be passed by the compiler, or set as the first line of "tinyxml.h".<p>Note: If compiling the test code in Linux, setting the environment variable TINYXML_USE_STL=YES/NO will control STL compilation. In the Windows project file, STL and non STL targets are provided. In your project, It's probably easiest to add the line "#define TIXML_USE_STL" as the first line of <a class="el" href="tinyxml_8h-source.html">tinyxml.h</a>.<p><h3>UTF-8 </h3><p>TinyXML supports UTF-8 allowing to manipulate XML files in any language. TinyXML also supports "legacy mode" - the encoding used before UTF-8 support and probably best described as "extended ascii".<p>Normally, TinyXML will try to detect the correct encoding and use it. However, by setting the value of TIXML_DEFAULT_ENCODING in the header file, TinyXML can be forced to always use one encoding.<p>TinyXML will assume Legacy Mode until one of the following occurs: <ol><li>If the non-standard but common "UTF-8 lead bytes" (0xef 0xbb 0xbf) begin the file or data stream, TinyXML will read it as UTF-8.  </li><li>If the declaration tag is read, and it has an encoding="UTF-8", then TinyXML will read it as UTF-8.  </li><li>If the declaration tag is read, and it has no encoding specified, then TinyXML will read it as UTF-8.  </li><li>If the declaration tag is read, and it has an encoding="something else", then TinyXML will read it as Legacy Mode. In legacy mode, TinyXML will work as it did before. It's not clear what that mode does exactly, but old content should keep working. </li><li>Until one of the above criteria is met, TinyXML runs in Legacy Mode. </li></ol><p>What happens if the encoding is incorrectly set or detected? TinyXML will try to read and pass through text seen as improperly encoded. You may get some strange results or mangled characters. You may want to force TinyXML to the correct mode.<p>You may force TinyXML to Legacy Mode by using LoadFile( TIXML_ENCODING_LEGACY ) or LoadFile( filename, TIXML_ENCODING_LEGACY ). You may force it to use legacy mode all the time by setting TIXML_DEFAULT_ENCODING = TIXML_ENCODING_LEGACY. Likewise, you may force it to TIXML_ENCODING_UTF8 with the same technique.<p>For English users, using English XML, UTF-8 is the same as low-ASCII. You don't need to be aware of UTF-8 or change your code in any way. You can think of UTF-8 as a "superset" of ASCII.<p>UTF-8 is not a double byte format - but it is a standard encoding of Unicode! TinyXML does not use or directly support wchar, TCHAR, or Microsoft's _UNICODE at this time. It is common to see the term "Unicode" improperly refer to UTF-16, a wide byte encoding of unicode. This is a source of confusion.<p>For "high-ascii" languages - everything not English, pretty much - TinyXML can handle all languages, at the same time, as long as the XML is encoded in UTF-8. That can be a little tricky, older programs and operating systems tend to use the "default" or "traditional" code page. Many apps (and almost all modern ones) can output UTF-8, but older or stubborn (or just broken) ones still output text in the default code page.<p>For example, Japanese systems traditionally use SHIFT-JIS encoding. Text encoded as SHIFT-JIS can not be read by TinyXML. A good text editor can import SHIFT-JIS and then save as UTF-8.<p>The <a href="http://skew.org/xml/tutorial/">Skew.org link</a> does a great job covering the encoding issue.<p>The test file "utf8test.xml" is an XML containing English, Spanish, Russian, and Simplified Chinese. (Hopefully they are translated correctly). The file "utf8test.gif" is a screen capture of the XML file, rendered in IE. Note that if you don't have the correct fonts (Simplified Chinese or Russian) on your system, you won't see output that matches the GIF file even if you can parse it correctly. Also note that (at least on my Windows machine) console output is in a Western code page, so that Print() or printf() cannot correctly display the file. This is not a bug in TinyXML - just an OS issue. No data is lost or destroyed by TinyXML. The console just doesn't render UTF-8.<p><h3>Entities </h3><p>TinyXML recognizes the pre-defined "character entities", meaning special characters. Namely:<p><div class="fragment"><pre class="fragment">	&amp;amp;	&amp;	&amp;lt;	&lt;	&amp;gt;	&gt;	&amp;quot;	"	&amp;apos;	'</pre></div><p>These are recognized when the XML document is read, and translated to there UTF-8 equivalents. For instance, text with the XML of:<p><div class="fragment"><pre class="fragment">	Far &amp;amp; Away</pre></div><p>will have the Value() of "Far &amp; Away" when queried from the <a class="el" href="classTiXmlText.html">TiXmlText</a> object, and will be written back to the XML stream/file as an ampersand. Older versions of TinyXML "preserved" character entities, but the newer versions will translate them into characters.<p>Additionally, any character can be specified by its Unicode code point: The syntax "&amp;#xA0;" or "&amp;#160;" are both to the non-breaking space characher.<p><h3>Printing </h3><p>TinyXML can print output in several different ways that all have strengths and limitations.<p><ul><li>Print( FILE* ). Output to a std-C stream, which includes all C files as well as stdout.<ul><li>"Pretty prints", but you don't have control over printing options.</li><li>The output is streamed directly to the FILE object, so there is no memory overhead in the TinyXML code.</li><li>used by Print() and SaveFile()</li></ul></li></ul><p><ul><li>operator&lt;&lt;. Output to a c++ stream.<ul><li>Integrates with standart C++ iostreams.</li><li>Outputs in "network printing" mode without line breaks. Good for network transmission and moving XML between C++ objects, but hard for a human to read.</li></ul></li></ul><p><ul><li><a class="el" href="classTiXmlPrinter.html">TiXmlPrinter</a>. Output to a std::string or memory buffer.<ul><li>API is less concise</li><li>Future printing options will be put here.</li><li>Printing may change slightly in future versions as it is refined and expanded.</li></ul></li></ul><p><h3>Streams </h3><p>With TIXML_USE_STL on TinyXML supports C++ streams (operator &lt;&lt;,&gt;&gt;) streams as well as C (FILE*) streams. There are some differences that you may need to be aware of.<p>C style output:<ul><li>based on FILE*</li><li>the Print() and SaveFile() methods</li></ul><p>Generates formatted output, with plenty of white space, intended to be as human-readable as possible. They are very fast, and tolerant of ill formed XML documents. For example, an XML document that contains 2 root elements and 2 declarations, will still print.<p>C style input:<ul><li>based on FILE*</li><li>the Parse() and LoadFile() methods</li></ul><p>A fast, tolerant read. Use whenever you don't need the C++ streams.<p>C++ style output:<ul><li>based on std::ostream</li><li>operator&lt;&lt;</li></ul><p>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲日本免费电影| 亚洲一区二区综合| 玉足女爽爽91| 国产成人亚洲精品狼色在线| 91福利在线播放| 久久精品一二三| 免费看黄色91| 欧美精品在线观看一区二区| 国产精品欧美综合在线| 久久99热国产| 7777精品伊人久久久大香线蕉最新版| 欧美激情综合网| 久久精品99国产国产精| 欧美日韩另类一区| 一区二区三区四区高清精品免费观看| 国产精品主播直播| 久久一夜天堂av一区二区三区| 亚洲一区二区三区不卡国产欧美| 成人福利视频网站| 中文字幕免费一区| 国产成人综合在线播放| 久久影院电视剧免费观看| 日本午夜精品视频在线观看| 欧美日韩情趣电影| 亚洲成av人片一区二区三区| 91小视频免费观看| 欧美v亚洲v综合ⅴ国产v| 婷婷夜色潮精品综合在线| 91视视频在线观看入口直接观看www | 在线不卡免费av| 亚洲一区二区中文在线| 欧美综合天天夜夜久久| 亚洲色图第一区| 91无套直看片红桃| 亚洲欧美另类久久久精品| 91色视频在线| 一区二区三区四区高清精品免费观看 | 亚洲综合成人在线| 欧美亚一区二区| 亚洲第一搞黄网站| 欧美高清hd18日本| 麻豆中文一区二区| 精品国产1区2区3区| 国产伦精品一区二区三区免费| www国产精品av| 国产99久久久精品| 亚洲精品国产精华液| 欧美日韩久久一区| 精品一区二区三区的国产在线播放| 日韩一区二区三区免费看| 极品少妇一区二区三区精品视频 | 色综合久久综合网97色综合| 伊人婷婷欧美激情| 欧美日韩国产综合久久| 麻豆精品一区二区| 中文在线一区二区| 在线视频一区二区三| 婷婷久久综合九色综合伊人色| 日韩欧美在线网站| 成人一区二区视频| 午夜精品福利久久久| 久久亚洲精品小早川怜子| 91在线精品秘密一区二区| 亚洲一区二区三区影院| 精品国产污网站| 色综合久久66| 狠狠色狠狠色综合| 亚洲欧美福利一区二区| 日韩三级在线观看| 91视频在线看| 国内精品伊人久久久久av影院| 中文字幕一区二区5566日韩| 欧美高清dvd| aa级大片欧美| 久久精品国产亚洲一区二区三区 | 成人高清视频免费观看| 婷婷综合五月天| 国产精品白丝在线| 91精品国产免费| 一本一道综合狠狠老| 久久成人免费电影| 亚洲国产成人av| 国产精品素人一区二区| 欧美一区二区三区视频在线观看| 成人中文字幕电影| 国内偷窥港台综合视频在线播放| 一区二区三区四区av| 久久青草国产手机看片福利盒子| 欧美性淫爽ww久久久久无| 大桥未久av一区二区三区中文| 日韩福利电影在线观看| 自拍偷拍欧美激情| 欧美国产丝袜视频| 26uuu亚洲| 日韩欧美黄色影院| 欧美三级韩国三级日本三斤 | 国产99久久久久| 美女视频一区二区| 日韩专区欧美专区| 亚洲影院在线观看| 亚洲色欲色欲www在线观看| 国产清纯白嫩初高生在线观看91| 日韩一区二区在线观看| 在线不卡欧美精品一区二区三区| 欧洲一区在线观看| 91国模大尺度私拍在线视频| 成人精品免费看| 国产精品自拍网站| 国产精品77777竹菊影视小说| 久久精品国产色蜜蜜麻豆| 亚洲成a人片在线不卡一二三区| 亚洲免费av高清| 亚洲精品乱码久久久久久久久| 国产精品久久久久婷婷二区次| 久久综合久久99| 精品国产伦理网| 久久久精品2019中文字幕之3| 久久综合av免费| 国产欧美一区二区三区在线老狼| 久久久久久影视| 欧美国产视频在线| 亚洲婷婷国产精品电影人久久| 中文字幕日韩精品一区| 亚洲乱码国产乱码精品精98午夜| 亚洲图片激情小说| 亚洲一区二区三区中文字幕| 亚洲午夜久久久久| 日韩精品一卡二卡三卡四卡无卡| 日韩高清一区在线| 国内久久婷婷综合| 成人毛片视频在线观看| 色婷婷av一区二区三区软件| 欧美精品一区二| 在线不卡一区二区| 欧美国产综合一区二区| 中文字幕亚洲成人| 一区二区三区欧美日韩| 亚洲大尺度视频在线观看| 日本不卡一区二区三区高清视频| 蜜臀久久久99精品久久久久久| 韩国理伦片一区二区三区在线播放| 国产一区二区三区四区五区美女 | 色哟哟国产精品| 欧美午夜精品久久久久久孕妇| 91麻豆精品国产91久久久资源速度| 欧美大片日本大片免费观看| 婷婷六月综合亚洲| 国产在线精品一区二区三区不卡| 波多野结衣在线一区| 欧美日韩精品一区视频| 久久综合久久99| 亚洲一区二区影院| 国产午夜精品久久久久久免费视| 在线观看精品一区| 国产精品一区二区三区乱码| 成人国产精品免费观看动漫 | 日本乱人伦一区| 欧美一区二区三区在线| 国产精品午夜免费| 日本va欧美va精品发布| 成人av午夜影院| 日韩精品一区二区三区视频在线观看| 欧美激情一区三区| 日本系列欧美系列| 91色九色蝌蚪| 久久精品夜色噜噜亚洲a∨| 亚洲成人精品一区二区| av中文字幕一区| 精品国产一区二区在线观看| 亚洲综合一区二区三区| 高清不卡一区二区在线| 日韩丝袜情趣美女图片| 亚洲精选免费视频| 国产成人综合在线播放| 日韩一区二区三区四区| 亚洲成人免费视| 一本一道综合狠狠老| 欧美韩日一区二区三区| 精久久久久久久久久久| 在线成人高清不卡| 亚洲无线码一区二区三区| av男人天堂一区| 国产欧美日韩在线看| 黑人巨大精品欧美一区| 欧美一区二区三区小说| 亚洲成人777| 欧美日韩免费一区二区三区| 亚洲欧美色图小说| av中文字幕一区| 亚洲三级在线免费| 成a人片亚洲日本久久| 欧美精品一区二区三区高清aⅴ| 午夜视黄欧洲亚洲| 欧美日韩一区二区三区四区 | 亚洲午夜电影在线观看| 91啪在线观看| 9色porny自拍视频一区二区| 成人app软件下载大全免费| 99视频一区二区| 中文字幕制服丝袜一区二区三区 |