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

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

?? readme.txt

?? xml 簡單解析器
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
/** @mainpage

<h1> TinyXml </h1>

TinyXml is a simple, small, C++ XML parser that can be easily 
integrating into other programs.

<h2> What it does. </h2>
	
In brief, TinyXml parses an XML document, and builds from that a 
Document Object Model (DOM) that can be read, modified, and saved.

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.

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>.

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.

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. 

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.

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.


<h2> What it doesn't do. </h2>

It doesnt 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.

The following DTD syntax will not parse at this time in TinyXml:

@verbatim
	<!DOCTYPE Archiv [
	 <!ELEMENT Comment (#PCDATA)>
	]>
@endverbatim

because TinyXml sees this as a !DOCTYPE node with an illegally 
embedded !ELEMENT node. This may be addressed in the future.

<h2> Tutorials. </h2>

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.

- @subpage tutorial0

<h2> Code Status.  </h2>

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.

There are some areas of improvement; please check sourceforge if you are
interested in working on TinyXml.


<h2> Features </h2>

<h3> Using STL </h3>

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<<, and operator>>. Many API methods have both 'const char*' and
'const std::string&' forms.

When STL support is compiled out, no STL files are included whatsover. All
the string classes are implemented by TinyXml itself. API methods
all use the 'const char*' form for input.

Use the compile time #define:

	TIXML_USE_STL

to compile one version or the other. This can be passed by the compiler,
or set as the first line of "tinyxml.h".

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,
its probably easiest to add the line "#define TIXML_USE_STL" as the first
line of tinyxml.h.

<h3> UTF-8 </h3>

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".

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.

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>

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.

<b> 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.</b>

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.

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 Microsofts _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.

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. 

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.

The <a href="http://skew.org/xml/tutorial/">Skew.org link</a> does a great
job covering the encoding issue.

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.


<h3> Entities </h3>
TinyXml recognizes the pre-defined "character entities", meaning special
characters. Namely:

@verbatim
	&amp;	&
	&lt;	<
	&gt;	>
	&quot;	"
	&apos;	'
@endverbatim

These are recognized when the XML document is read, and translated to there
UTF-8 equivalents. For instance, text with the XML of:

@verbatim
	Far &amp; Away
@endverbatim

will have the Value() of "Far & Away" when queried from the TiXmlText 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.

Additionally, any character can be specified by its Unicode code point:
The syntax "&#xA0;" or "&#160;" are both to the non-breaking space characher.


<h3> Streams </h3>
With TIXML_USE_STL on,
TiXml has been modified to support both C (FILE) and C++ (operator <<,>>) 
streams. There are some differences that you may need to be aware of.

C style output:
	- based on FILE*
	- the Print() and SaveFile() methods

	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.

C style input:
	- based on FILE*
	- the Parse() and LoadFile() methods

	A fast, tolerant read. Use whenever you don't need the C++ streams.

C++ style ouput:
	- based on std::ostream
	- operator<<

	Generates condensed output, intended for network transmission rather than
	readability. Depending on your system's implementation of the ostream class,
	these may be somewhat slower. (Or may not.) Not tolerant of ill formed XML:
	a document should contain the correct one root element. Additional root level
	elements will not be streamed out.

C++ style input:
	- based on std::istream
	- operator>>

	Reads XML from a stream, making it useful for network transmission. The tricky
	part is knowing when the XML document is complete, since there will almost
	certainly be other data in the stream. TinyXml will assume the XML data is
	complete after it reads the root element. Put another way, documents that
	are ill-constructed with more than one root element will not read correctly.
	Also note that operator>> is somewhat slower than Parse, due to both 
	implementation of the STL and limitations of TinyXml.

<h3> White space </h3>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人黄色777网| 日韩福利电影在线观看| 国产成a人亚洲| 国产亚洲欧美一区在线观看| 成人小视频在线| 亚洲欧美一区二区视频| 在线视频中文字幕一区二区| 亚州成人在线电影| 日韩精品一区二区三区swag| 成人综合婷婷国产精品久久 | 91视视频在线观看入口直接观看www | 这里只有精品电影| 国产一区视频网站| 国产精品高潮呻吟| 欧美剧在线免费观看网站| 久久精品国产亚洲a| 国产午夜精品一区二区| 99久久精品国产毛片| 五月天久久比比资源色| 欧美精品一区二区蜜臀亚洲| 成人激情图片网| 亚洲国产中文字幕| 久久久久国产精品麻豆| 色婷婷久久一区二区三区麻豆| 三级久久三级久久| 国产视频911| 欧美日韩亚洲综合一区二区三区| 久久se精品一区二区| 亚洲欧美日韩国产中文在线| 91精品国产综合久久福利软件| 国产精品一区二区果冻传媒| 亚洲精品伦理在线| 精品国产乱码久久久久久老虎| 95精品视频在线| 精品一区二区三区视频 | 午夜精品一区在线观看| 欧美韩国日本不卡| 51久久夜色精品国产麻豆| 成人app网站| 精品综合免费视频观看| 亚洲小说欧美激情另类| 中文字幕av不卡| 日韩一区二区三免费高清| 91色porny在线视频| 精品在线观看视频| 亚洲va国产va欧美va观看| 中文字幕欧美激情一区| 精品日韩成人av| 欧美无乱码久久久免费午夜一区 | 91精品国产91综合久久蜜臀| 99riav一区二区三区| 国产精品综合网| 久久99热99| 亚洲午夜精品网| 亚洲色图20p| 久久久久久久久久久久久女国产乱| 91精品福利视频| av在线播放不卡| 国产99久久久精品| 国产麻豆精品theporn| 免费av网站大全久久| 亚洲综合男人的天堂| 日韩理论片在线| 欧美韩日一区二区三区| 国产婷婷一区二区| 久久一区二区三区国产精品| 欧美电视剧在线观看完整版| 欧美一级视频精品观看| 欧美精品一二三四| 欧美美女一区二区| 欧美日韩一区二区三区四区| 欧美在线你懂得| 在线免费观看一区| 欧美色男人天堂| 欧美日韩国产经典色站一区二区三区 | 亚洲一区二区欧美日韩| 亚洲黄色小视频| 亚洲午夜久久久久| 亚洲v精品v日韩v欧美v专区| 亚洲电影一级片| 午夜伦欧美伦电影理论片| 亚洲www啪成人一区二区麻豆| 亚洲国产一区二区三区| 亚洲成国产人片在线观看| 亚洲bt欧美bt精品777| 亚洲bt欧美bt精品| 蜜乳av一区二区| 国内一区二区在线| 粉嫩嫩av羞羞动漫久久久 | 日本一区二区视频在线观看| 欧美国产日韩精品免费观看| 国产精品伦理一区二区| 亚洲靠逼com| 亚洲成人av在线电影| 久久精品国产亚洲一区二区三区| 精品一区精品二区高清| 国产凹凸在线观看一区二区| 成人中文字幕电影| 一本久久a久久免费精品不卡| 欧洲国内综合视频| 欧美一级免费观看| 26uuu久久天堂性欧美| 国产视频在线观看一区二区三区| 中文字幕在线播放不卡一区| 亚洲高清不卡在线| 精品写真视频在线观看| 成人app网站| 欧美精品123区| 国产日韩欧美激情| 亚洲国产日产av| 国产真实乱偷精品视频免| av电影在线不卡| 这里只有精品免费| 国产精品色在线观看| 午夜视黄欧洲亚洲| 国产高清不卡一区二区| 亚洲少妇最新在线视频| 精品粉嫩超白一线天av| 国产精品久久久久桃色tv| 日韩美女久久久| 亚洲sss视频在线视频| 美腿丝袜亚洲色图| 91视频.com| 久久亚洲一区二区三区四区| 亚洲欧美激情一区二区| 蜜桃av一区二区| 91精彩视频在线观看| 久久久午夜精品| 香蕉久久一区二区不卡无毒影院| 国产精品一区二区久久不卡| 欧美日韩精品一区二区三区蜜桃| 国产精品三级在线观看| 全国精品久久少妇| 色素色在线综合| 国产视频亚洲色图| 蜜臀久久99精品久久久久宅男| 99视频超级精品| 欧美一区二区久久| 亚洲一区二区三区中文字幕| 风流少妇一区二区| 精品区一区二区| 亚洲综合自拍偷拍| 成人性生交大片免费看中文| 欧美电影免费观看完整版| 一区二区在线观看av| 成人精品鲁一区一区二区| 26uuu国产电影一区二区| 亚洲成人一二三| 在线观看中文字幕不卡| 国产精品麻豆久久久| 国产美女久久久久| 欧美成人精品福利| 日韩二区三区在线观看| 在线精品视频一区二区三四| 亚洲日本在线天堂| 波多野结衣欧美| 国产精品美女久久久久aⅴ国产馆| 奇米影视一区二区三区| 91精品国产一区二区三区香蕉| 日韩美女久久久| 97久久久精品综合88久久| 日本一区二区成人| 国产aⅴ综合色| 日本一二三不卡| 成人中文字幕在线| 国产精品看片你懂得| 麻豆精品一区二区综合av| 日韩视频一区二区| 久久电影网站中文字幕| 日韩精品中文字幕在线不卡尤物| 日本女人一区二区三区| 欧美一级高清片| 麻豆精品国产传媒mv男同| 精品久久人人做人人爰| 国产精品99久久久久久久女警| 日韩精品一区二区三区swag| 国产乱子伦一区二区三区国色天香| 2024国产精品| 国产成人亚洲综合色影视| 国产精品色哟哟| 色国产精品一区在线观看| 亚洲aaa精品| 日韩欧美成人午夜| 国产成人免费在线观看不卡| 国产精品电影一区二区| 日本高清无吗v一区| 日韩黄色免费电影| 精品国产青草久久久久福利| 成人午夜激情视频| 亚洲伦理在线精品| 欧美久久一二三四区| 久久69国产一区二区蜜臀| 国产日韩一级二级三级| 色视频一区二区| 另类调教123区 | 欧美国产激情一区二区三区蜜月 | 国v精品久久久网| 一区二区三区91| 日韩一区二区不卡| 成人黄色a**站在线观看|