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

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

?? index.html

?? 一個使用 c++ 實現的 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.3 </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一区二区三区免费野_久草精品视频
美腿丝袜一区二区三区| 成人av免费观看| 激情五月激情综合网| 日韩影院精彩在线| 乱一区二区av| 高清shemale亚洲人妖| 99久久免费视频.com| 欧美日韩专区在线| 日韩欧美亚洲一区二区| 国产精品久久久久四虎| 亚洲欧美一区二区三区国产精品 | 国产精品一区三区| www.一区二区| www精品美女久久久tv| 国产午夜精品一区二区三区嫩草 | 国产精品卡一卡二| 国产欧美一区二区精品性色 | 亚洲成人精品一区| 在线一区二区三区做爰视频网站| 麻豆久久久久久| 亚洲精品少妇30p| 日韩欧美电影在线| 欧美在线观看你懂的| 中文子幕无线码一区tr| 欧美日韩日日骚| 免费成人性网站| 三级成人在线视频| 欧美激情一区二区三区不卡 | 99精品欧美一区| 日本中文字幕不卡| 亚洲尤物视频在线| 精品久久久网站| 成人av网在线| 天天操天天综合网| 日韩视频永久免费| 91最新地址在线播放| 亚洲自拍偷拍麻豆| 2017欧美狠狠色| av爱爱亚洲一区| 美日韩一级片在线观看| 国产精品久久三区| 91麻豆精品国产自产在线观看一区| 亚洲国产成人精品视频| 久久人人97超碰com| 在线观看欧美精品| bt欧美亚洲午夜电影天堂| 视频精品一区二区| 久久久国产精品午夜一区ai换脸| 色狠狠色狠狠综合| 国产麻豆成人传媒免费观看| 亚洲成人在线网站| 亚洲成人综合在线| 亚洲图片欧美色图| 丝袜美腿成人在线| 精品一区二区三区免费| 色乱码一区二区三区88| 欧美日韩国产综合视频在线观看| 婷婷开心久久网| 91在线免费视频观看| 亚洲欧洲av在线| 久久新电视剧免费观看| 日韩一本二本av| 三级成人在线视频| 欧美三级中文字幕在线观看| 国产suv精品一区二区883| 日韩精彩视频在线观看| 九色porny丨国产精品| 国产久卡久卡久卡久卡视频精品| 国产不卡免费视频| 欧美网站一区二区| 日韩欧美的一区| 国产欧美一区二区精品久导航| 无吗不卡中文字幕| 日本视频一区二区三区| 日韩av电影免费观看高清完整版在线观看| 中文字幕欧美一区| 国产精品视频观看| 亚洲国产精品一区二区久久 | 午夜欧美大尺度福利影院在线看| 一区二区在线观看免费视频播放| 亚洲综合色噜噜狠狠| 99精品欧美一区二区三区小说| 亚洲欧美日韩在线不卡| 色哟哟亚洲精品| 视频在线观看一区二区三区| 欧美精品日韩一区| 国产呦萝稀缺另类资源| 婷婷综合在线观看| 国产精品99久久久久久有的能看| 欧美国产一区二区在线观看| 日韩中文字幕不卡| 日韩一级免费一区| 国产成人av一区二区三区在线 | 国产高清久久久| 日本一区二区免费在线| 91麻豆国产福利精品| 亚洲成a人片在线不卡一二三区| 日韩女优av电影在线观看| 成人性色生活片免费看爆迷你毛片| 综合激情成人伊人| 欧美一区二区三区系列电影| 色综合久久综合中文综合网| 欧美日韩精品欧美日韩精品一| 亚洲猫色日本管| 久热成人在线视频| 久久久99精品免费观看| 色呦呦国产精品| 狠狠色丁香婷综合久久| 一区二区三区在线影院| 国产丝袜在线精品| 欧美一区二区三区婷婷月色| 99riav久久精品riav| 国产一区二区剧情av在线| 一区二区三区高清| 国产午夜久久久久| 国产精品18久久久久| 欧美变态口味重另类| 蜜臀久久久99精品久久久久久| 色综合天天性综合| 国产精品国产精品国产专区不蜜| 91视频在线看| 成人精品一区二区三区四区| 亚洲国产你懂的| 91成人国产精品| 久久久亚洲精品石原莉奈| 日韩在线播放一区二区| 欧美系列一区二区| 亚洲一区国产视频| 91小视频在线免费看| 国产精品天美传媒沈樵| 国产91色综合久久免费分享| 精品国产伦一区二区三区观看方式 | 天天综合日日夜夜精品| 91福利小视频| 一区二区三区久久| 91美女片黄在线观看| 一区av在线播放| 欧美午夜片在线看| 丝袜a∨在线一区二区三区不卡| 555www色欧美视频| 免费成人美女在线观看| 欧美精品一区二区三区在线播放| 麻豆视频观看网址久久| 精品国产区一区| 国产精品一区免费在线观看| 国产精品情趣视频| 91免费观看视频| 亚洲影视资源网| 日韩手机在线导航| 国产成人精品亚洲日本在线桃色| 久久久久久日产精品| 成人手机电影网| 亚洲乱码日产精品bd| 欧美日韩一卡二卡| 青青草国产精品97视觉盛宴| 欧美va天堂va视频va在线| 丁香桃色午夜亚洲一区二区三区| 中文字幕一区二区三区蜜月| 色天使色偷偷av一区二区| 日韩成人午夜电影| 国产视频一区在线播放| 91在线精品一区二区| 亚瑟在线精品视频| 精品国产乱码久久| 99精品视频免费在线观看| 亚洲第一在线综合网站| 精品国产1区2区3区| 99久久777色| 日本成人在线视频网站| 国产欧美一区二区在线观看| 色综合色狠狠综合色| 美女精品一区二区| 国产精品丝袜久久久久久app| 在线观看91精品国产入口| 极品美女销魂一区二区三区 | 日日摸夜夜添夜夜添精品视频| 欧美一区二区三区在线视频| 成人教育av在线| 日本不卡一区二区| 日韩一区欧美小说| 欧美一区中文字幕| 99视频国产精品| 另类人妖一区二区av| 亚洲色图一区二区三区| 欧美精品一区二区三区在线| 色成年激情久久综合| 日本欧美加勒比视频| 综合久久一区二区三区| 日韩一区二区三区高清免费看看| 不卡一区二区在线| 极品美女销魂一区二区三区免费| 国产三级三级三级精品8ⅰ区| 亚洲免费资源在线播放| 欧美激情综合五月色丁香小说| 一区在线观看免费| 欧美日韩免费视频| 成人av高清在线| 韩国v欧美v日本v亚洲v| 一区二区三区欧美激情| 国产日本欧洲亚洲|