![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
xml
文章平均质量分 69
xinghua24
这个作者很懒,什么都没留下…
展开
-
XML(5) PCDATA, CDATA, escaping illegal character
PCDATASimply speaking, PCDATA stands for Parsed Character Data. That means the characters are to be parsed by the XML, XHTML, or HTML parser. ( will be taken to mean a paragraph tag, etc). Compare原创 2012-06-29 11:52:51 · 580 阅读 · 0 评论 -
XML(9) Anatomy of DTD
W3 schools reference and tutorial<!DOCTYPE NEWSPAPER [ ]>DTDs consist of three basic parts:Element declarationsAttribute declarationsEntity declarationsSequenc原创 2012-07-01 05:26:03 · 394 阅读 · 0 评论 -
XML(12) Schema declaration
Data.xml:have a default namespacexmlns="http://www.mysite.com/name"have a xsi namespace declarationxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"have a schemaLocation which原创 2012-07-05 10:36:13 · 298 阅读 · 0 评论 -
XLink and XPointer
XLink defines a standard way of creating hyperlinks in XML documents.XPointer allows the hyperlinks to point to more specific parts in the XML document.XLink ReferenceAttribute原创 2012-07-05 12:50:06 · 301 阅读 · 0 评论 -
XML(8) Document Type Definitions(DTD)
external DTD example name.dtd:name.xml John Fitzgerald Johansen Doeinternal DTDWhen declarations appear between the [ and ], as in the sample, they are called internal subs原创 2012-06-30 23:16:05 · 378 阅读 · 0 评论 -
XML(7) URI
Namespace in XML are specified by URIWhat is URIA URI (Uniform Resource Identifier) is a string of characters that identifies a resource. It can occur in one of two flavors: URL (Uniform Resource原创 2012-06-30 06:22:38 · 685 阅读 · 0 评论 -
XML(4) Processing Instructions
Sometimes you want to embed program specific commands to XML file. To allow this, processing instructions or PIs are for this purpose.JohnDoePIs are embed in In the example abrove原创 2012-06-29 11:37:20 · 629 阅读 · 0 评论 -
XML(3) Declaration
Example:Declaration requirement:The XML declaration starts with the characters .If you include a declaration, you must include the version, but the encoding and standalone attributes are opt原创 2012-06-29 10:45:47 · 462 阅读 · 0 评论 -
XML(2) Attribute
Attributes are simple name/value pairs associated with an element. Attribute value must be enclosed in single or double quotesThe same rules apply to naming attributes as apply to原创 2012-06-29 09:31:38 · 428 阅读 · 0 评论 -
XML(1) Tags and Elements
example: John Fitzgerald Johansen DoeIn John , is a start tag is a n end tagJohn is an elementJohn is element contentIn this case, the element content is ref原创 2012-06-29 07:00:36 · 336 阅读 · 0 评论 -
XML(11) XML schema example
example from w3schools.comshiporder.xml<shiporder orderid="889923" xmlns="http://www.mysite.org/shiporder" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"原创 2012-07-04 11:05:26 · 455 阅读 · 0 评论 -
XML(6) Namespace
In this example, tag can be ambiguous. It can mean a person's name for the name from the résumé Sir John Fitzgerald Johansen Doe Vice Pre原创 2012-06-30 04:15:29 · 318 阅读 · 0 评论 -
XML(10) XML Schemas in general
XML Schemas are more powerful than DTD.Uses XML syntaxUnlike DTD, XML schemas supports Namespaceexample:name.xmlthe value of the noNamespaceSchemaLocation attribute is exactly the path to th原创 2012-07-04 11:02:55 · 373 阅读 · 0 评论