﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-SNOW NO Track-随笔分类-XML</title><link>http://www.blogjava.net/zhangxg/category/717.html</link><description /><language>zh-cn</language><lastBuildDate>Fri, 02 Mar 2007 06:42:04 GMT</lastBuildDate><pubDate>Fri, 02 Mar 2007 06:42:04 GMT</pubDate><ttl>60</ttl><item><title>XLink1.0 学习笔记</title><link>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1917.html</link><dc:creator>SNOW NO Track</dc:creator><author>SNOW NO Track</author><pubDate>Thu, 10 Mar 2005 08:21:00 GMT</pubDate><guid>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1917.html</guid><wfw:comment>http://www.blogjava.net/Zhangxg/comments/1917.html</wfw:comment><comments>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1917.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Zhangxg/comments/commentRss/1917.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Zhangxg/services/trackbacks/1917.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 1、XLink的规格说明书是用来描述和创建在XML文档中资源之间的链接语言规范，目前W3C的此工作组由于工作已经完成所以已经解散了。这个规范定义了两种链接声明类型，即简单型的（类型为simple的）和扩展型的（类型为extended），其实简单型的链接是扩展型的链接的便于书写的简单形式。2、要声明一个XML文档的链接，必须在这个所声明的链接的元素中定义这个命名空间：http://www.w3....&nbsp;&nbsp;<a href='http://www.blogjava.net/Zhangxg/archive/2005/03/10/1917.html'>阅读全文</a><img src ="http://www.blogjava.net/Zhangxg/aggbug/1917.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Zhangxg/" target="_blank">SNOW NO Track</a> 2005-03-10 16:21 <a href="http://www.blogjava.net/Zhangxg/archive/2005/03/10/1917.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>XML Base学习笔记</title><link>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1914.html</link><dc:creator>SNOW NO Track</dc:creator><author>SNOW NO Track</author><pubDate>Thu, 10 Mar 2005 08:04:00 GMT</pubDate><guid>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1914.html</guid><wfw:comment>http://www.blogjava.net/Zhangxg/comments/1914.html</wfw:comment><comments>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1914.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Zhangxg/comments/commentRss/1914.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Zhangxg/services/trackbacks/1914.html</trackback:ping><description><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; tab-stops: list 18.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">1、</SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XML Base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">提供了一种通过显式的指定一个基准</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI(base URI),</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">并通过此</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">base URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">来解析指向外部资源的相对</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的方式。具体是通过指定</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XML</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">元素的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">xml:base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性来实现的。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; tab-stops: list 18.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">2、</SPAN></SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目前只有三个有关</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XML</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的规范是基于</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XML Base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的，将其作为他们标准引用的一部分：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XLink</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XML InfoSet</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">Cannonical XML</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。其他的很少或者基本上和</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XML Base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">无关。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XML Namespace</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用了</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">但不是通过</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">xml:base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性来解析的。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XPath</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">没有使用相对</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">引用，所以也没有使用</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XML Base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XSLT</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用了与</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">XML Base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">不兼容的基</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的方式。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; tab-stops: list 18.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">3、</SPAN></SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">以下是一个例子：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></P><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3">&lt;?xml version="1.0"?&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3">&lt;doc xml:base="http://example.org/today/"<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>xmlns:xlink="http://www.w3.org/1999/xlink"&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>&lt;head&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;title&gt;Virtual Library&lt;/title&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>&lt;/head&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>&lt;body&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;paragraph&gt;See &lt;link xlink:type="simple" xlink:href="new.xml"&gt;what's<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>new&lt;/link&gt;!&lt;/paragraph&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;paragraph&gt;Check out the hot picks of the day!&lt;/paragraph&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;olist xml:base="/hotpicks/"&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;item&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;link xlink:type="simple" xlink:href="pick1.xml"&gt;Hot Pick #1&lt;/link&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;/item&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;item&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;link xlink:type="simple" xlink:href="pick2.xml"&gt;Hot Pick #2&lt;/link&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;/item&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;item&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;link xlink:type="simple" xlink:href="pick3.xml"&gt;Hot Pick #3&lt;/link&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;/item&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;/olist&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>&lt;/body&gt;<o:p></o:p></FONT></FONT></SPAN></PRE><PRE><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: 'Times New Roman'"><FONT size=4><FONT style="BACKGROUND-COLOR: #d3d3d3">&lt;/doc&gt;<o:p></o:p></FONT></FONT></SPAN></PRE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt"><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">本例中的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URIs</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">被解析为下列完整的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URIs</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></P>
<P class=Web1 style="MARGIN: 3.6pt 0cm 3.6pt 39pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: -21pt; tab-stops: list 39.0pt; mso-list: l1 level1 lfo2"><FONT size=4><SPAN lang=EN style="FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"><SPAN style="mso-list: Ignore">Ø<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN style="FONT-FAMILY: 'Times New Roman'">"what's new"</SPAN><FONT face="Arial Unicode MS">被解析为</FONT><SPAN lang=EN style="FONT-FAMILY: 'Times New Roman'">URI "http://example.org/today/new.xml"</SPAN></FONT></P>
<P class=Web1 style="MARGIN: 3.6pt 0cm 3.6pt 39pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: -21pt; tab-stops: list 39.0pt; mso-list: l1 level1 lfo2"><FONT size=4><SPAN lang=EN style="FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"><SPAN style="mso-list: Ignore">Ø<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN style="FONT-FAMILY: 'Times New Roman'">"Hot Pick #1"</SPAN><FONT face="Arial Unicode MS">被解析为</FONT><SPAN lang=EN style="FONT-FAMILY: 'Times New Roman'">URI "http://example.org/hotpicks/pick1.xml"</SPAN></FONT></P>
<P class=Web1 style="MARGIN: 3.6pt 0cm 3.6pt 39pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: -21pt; tab-stops: list 39.0pt; mso-list: l1 level1 lfo2"><FONT size=4><SPAN lang=EN style="FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"><SPAN style="mso-list: Ignore">Ø<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN style="FONT-FAMILY: 'Times New Roman'">"Hot Pick #2"</SPAN><FONT face="Arial Unicode MS">被解析为</FONT><SPAN lang=EN style="FONT-FAMILY: 'Times New Roman'">URI "http://example.org/hotpicks/pick2.xml"</SPAN></FONT></P>
<P class=Web1 style="MARGIN: 3.6pt 0cm 3.6pt 39pt; LAYOUT-GRID-MODE: char; TEXT-INDENT: -21pt; tab-stops: list 39.0pt; mso-list: l1 level1 lfo2"><FONT size=4><SPAN lang=EN style="FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"><SPAN style="mso-list: Ignore">Ø<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN style="FONT-FAMILY: 'Times New Roman'">"Hot Pick #3"</SPAN><FONT face="Arial Unicode MS">被解析为</FONT><SPAN lang=EN style="FONT-FAMILY: 'Times New Roman'">URI "http://example.org/hotpicks/pick3.xml"<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; tab-stops: list 18.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">4、</SPAN></SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">基准</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">一定是绝对</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，是根据</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">RFC 2396</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中的规则计算得到的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，通过</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">xml:base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性指定的值是基准</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">信息，并且</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">xml:base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的值可以是绝对</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，也可以是相对</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; tab-stops: list 18.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">5、</SPAN></SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">某个具体元素的基准</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">是由该元素的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">xml:base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性指定的，如果该元素没有指定</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">xml:base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性，则是由该元素的父元素的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">URI</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">指定的，如果父元素也没有指定</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">xml:base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的话，则是由该文档的</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt">xml:base</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性所指定的。</SPAN></P><img src ="http://www.blogjava.net/Zhangxg/aggbug/1914.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Zhangxg/" target="_blank">SNOW NO Track</a> 2005-03-10 16:04 <a href="http://www.blogjava.net/Zhangxg/archive/2005/03/10/1914.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>XML Schema学习笔记(2)</title><link>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1913.html</link><dc:creator>SNOW NO Track</dc:creator><author>SNOW NO Track</author><pubDate>Thu, 10 Mar 2005 07:59:00 GMT</pubDate><guid>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1913.html</guid><wfw:comment>http://www.blogjava.net/Zhangxg/comments/1913.html</wfw:comment><comments>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1913.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Zhangxg/comments/commentRss/1913.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Zhangxg/services/trackbacks/1913.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 1、关于include的用法include元素可以将外部的定义和声明引入到文档中，并且作为新Schema文档的一部分，但必须注意的一点是，被包含成员的目标命名空间必须和包含的目标命名空间一样。具体写法例子是：&lt;include schemaLocation=“http://www.example.com/schemas/address.xsd” /&gt;2、如果一个类型是从另一个...&nbsp;&nbsp;<a href='http://www.blogjava.net/Zhangxg/archive/2005/03/10/1913.html'>阅读全文</a><img src ="http://www.blogjava.net/Zhangxg/aggbug/1913.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Zhangxg/" target="_blank">SNOW NO Track</a> 2005-03-10 15:59 <a href="http://www.blogjava.net/Zhangxg/archive/2005/03/10/1913.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>XML Schema学习笔记(1)</title><link>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1899.html</link><dc:creator>SNOW NO Track</dc:creator><author>SNOW NO Track</author><pubDate>Thu, 10 Mar 2005 05:21:00 GMT</pubDate><guid>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1899.html</guid><wfw:comment>http://www.blogjava.net/Zhangxg/comments/1899.html</wfw:comment><comments>http://www.blogjava.net/Zhangxg/archive/2005/03/10/1899.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Zhangxg/comments/commentRss/1899.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Zhangxg/services/trackbacks/1899.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 1、复杂类型和简单类型之间最根本的区别就是：复杂类型的内容中可以包含其他元素，也可以带有属性（Attribute）,但简单类型既不能包含子元素，也不能带有任何属性。&lt;xsd:complexType name="CNAddress" &gt;&nbsp; &lt;xsd:sequence&gt;&nbsp;&nbsp; &lt;xsd:element name="name"&nbs...&nbsp;&nbsp;<a href='http://www.blogjava.net/Zhangxg/archive/2005/03/10/1899.html'>阅读全文</a><img src ="http://www.blogjava.net/Zhangxg/aggbug/1899.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Zhangxg/" target="_blank">SNOW NO Track</a> 2005-03-10 13:21 <a href="http://www.blogjava.net/Zhangxg/archive/2005/03/10/1899.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>