<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jennal's Blog &#187; Schema</title>
	<atom:link href="http://jennal.cn/category/xml/schema/feed/" rel="self" type="application/rss+xml" />
	<link>http://jennal.cn</link>
	<description>Jennal的技术博客</description>
	<lastBuildDate>Tue, 06 Mar 2012 00:51:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Schema中无顺序的Element的写法</title>
		<link>http://jennal.cn/2008/10/25/schema%e4%b8%ad%e6%97%a0%e9%a1%ba%e5%ba%8f%e7%9a%84element%e7%9a%84%e5%86%99%e6%b3%95/</link>
		<comments>http://jennal.cn/2008/10/25/schema%e4%b8%ad%e6%97%a0%e9%a1%ba%e5%ba%8f%e7%9a%84element%e7%9a%84%e5%86%99%e6%b3%95/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 19:16:29 +0000</pubDate>
		<dc:creator>Jennal</dc:creator>
				<category><![CDATA[Schema]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[无顺序]]></category>

		<guid isPermaLink="false">http://jennal.cn/?p=68</guid>
		<description><![CDATA[很郁闷的，在网上搜不到相关的内容。
很庆幸，Felix Validate给出很直观的错误提示。
试验了好久，终于写对了，记录一下。

1
2
3
4
5
6
&#60;xs:choice minOccurs=&#34;1&#34; maxOccurs=&#34;unbounded&#34;&#62;
  &#60;xs:element name=&#34;subtitle&#34; type=&#34;xs:string&#34;
              minOccurs=&#34;0&#34; maxOccurs=&#34;unbounded&#34; /&#62;
  &#60;xs:element name=&#34;question&#34; type=&#34;question_t&#34;
              minOccurs=&#34;1&#34; maxOccurs=&#34;unbounded&#34; /&#62;
&#60;/xs:choice&#62;

这么写相当于

&#40;subtitle*&#124;question+&#41;+

<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Mac OS X快捷键大全" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjennal.cn%2F2009%2F11%2F30%2Fmac-os-x%25E5%25BF%25AB%25E6%258D%25B7%25E9%2594%25AE%25E5%25A4%25A7%25E5%2585%25A8%2F&from=http%3A%2F%2Fjennal.cn%2F2008%2F10%2F25%2Fschema%25E4%25B8%25AD%25E6%2597%25A0%25E9%25A1%25BA%25E5%25BA%258F%25E7%259A%2584element%25E7%259A%2584%25E5%2586%2599%25E6%25B3%2595%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/24/2911859.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 15px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Mac OS X快捷键大全</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="漫画下载器 v1.6.7" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjennal.cn%2F2011%2F09%2F11%2F%25E6%25BC%25AB%25E7%2594%25BB%25E4%25B8%258B%25E8%25BD%25BD%25E5%2599%25A8-v1-6-7%2F&from=http%3A%2F%2Fjennal.cn%2F2008%2F10%2F25%2Fschema%25E4%25B8%25AD%25E6%2597%25A0%25E9%25A1%25BA%25E5%25BA%258F%25E7%259A%2584element%25E7%259A%2584%25E5%2586%2599%25E6%25B3%2595%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/09/11/30021135.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 15px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">漫画下载器 v1.6.7</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="漫画下载器 v1.6.3" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjennal.cn%2F2010%2F09%2F30%2F%25E6%25BC%25AB%25E7%2594%25BB%25E4%25B8%258B%25E8%25BD%25BD%25E5%2599%25A8-v1-6-3%2F&from=http%3A%2F%2Fjennal.cn%2F2008%2F10%2F25%2Fschema%25E4%25B8%25AD%25E6%2597%25A0%25E9%25A1%25BA%25E5%25BA%258F%25E7%259A%2584element%25E7%259A%2584%25E5%2586%2599%25E6%25B3%2595%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/24/2910917.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 15px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">漫画下载器 v1.6.3</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="漫画下载器 v1.2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjennal.cn%2F2010%2F02%2F12%2F%25E6%25BC%25AB%25E7%2594%25BB%25E4%25B8%258B%25E8%25BD%25BD%25E5%2599%25A8-v1-2%2F&from=http%3A%2F%2Fjennal.cn%2F2008%2F10%2F25%2Fschema%25E4%25B8%25AD%25E6%2597%25A0%25E9%25A1%25BA%25E5%25BA%258F%25E7%259A%2584element%25E7%259A%2584%25E5%2586%2599%25E6%25B3%2595%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/24/2911536.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 15px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">漫画下载器 v1.2</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>很郁闷的，在网上搜不到相关的内容。<br />
很庆幸，Felix Validate给出很直观的错误提示。</p>
<p>试验了好久，终于写对了，记录一下。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xs:choice</span> <span style="color: #000066;">minOccurs</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000066;">maxOccurs</span>=<span style="color: #ff0000;">&quot;unbounded&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xs:element</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;subtitle&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;xs:string&quot;</span></span>
<span style="color: #009900;">              <span style="color: #000066;">minOccurs</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">maxOccurs</span>=<span style="color: #ff0000;">&quot;unbounded&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xs:element</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;question&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;question_t&quot;</span></span>
<span style="color: #009900;">              <span style="color: #000066;">minOccurs</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000066;">maxOccurs</span>=<span style="color: #ff0000;">&quot;unbounded&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xs:choice<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>这么写相当于</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #009900;">&#40;</span>subtitle<span style="color: #339933;">*|</span>question<span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span></pre></div></div>

<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="漫画下载器 v1.6.4" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjennal.cn%2F2011%2F01%2F30%2F%25E6%25BC%25AB%25E7%2594%25BB%25E4%25B8%258B%25E8%25BD%25BD%25E5%2599%25A8-v1-6-4%2F&from=http%3A%2F%2Fjennal.cn%2F2008%2F10%2F25%2Fschema%25E4%25B8%25AD%25E6%2597%25A0%25E9%25A1%25BA%25E5%25BA%258F%25E7%259A%2584element%25E7%259A%2584%25E5%2586%2599%25E6%25B3%2595%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/24/2910828.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 15px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">漫画下载器 v1.6.4</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="非常齐全的document body window div 高度、宽度、鼠标坐标图解" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjennal.cn%2F2008%2F10%2F06%2F%25E9%259D%259E%25E5%25B8%25B8%25E9%25BD%2590%25E5%2585%25A8%25E7%259A%2584document-body-window-div-%25E9%25AB%2598%25E5%25BA%25A6%25E3%2580%2581%25E5%25AE%25BD%25E5%25BA%25A6%25E3%2580%2581%25E9%25BC%25A0%25E6%25A0%2587%25E5%259D%2590%25E6%25A0%2587%25E5%259B%25BE%25E8%25A7%25A3%2F&from=http%3A%2F%2Fjennal.cn%2F2008%2F10%2F25%2Fschema%25E4%25B8%25AD%25E6%2597%25A0%25E9%25A1%25BA%25E5%25BA%258F%25E7%259A%2584element%25E7%259A%2584%25E5%2586%2599%25E6%25B3%2595%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/24/2911569.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 15px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">非常齐全的document body window div 高度、宽度、鼠标坐标图解</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="scrollLeft,scrollWidth,clientWidth,offsetWidth之完全详解" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjennal.cn%2F2008%2F10%2F06%2Fscrollleftscrollwidthclientwidthoffsetwidth%25E4%25B9%258B%25E5%25AE%258C%25E5%2585%25A8%25E8%25AF%25A6%25E8%25A7%25A3%2F&from=http%3A%2F%2Fjennal.cn%2F2008%2F10%2F25%2Fschema%25E4%25B8%25AD%25E6%2597%25A0%25E9%25A1%25BA%25E5%25BA%258F%25E7%259A%2584element%25E7%259A%2584%25E5%2586%2599%25E6%25B3%2595%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/02/24/2912372.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 15px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">scrollLeft,scrollWidth,clientWidth,offsetWidth之完全详解</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="漫画下载器 v1.7.1" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjennal.cn%2F2012%2F03%2F05%2F%25E6%25BC%25AB%25E7%2594%25BB%25E4%25B8%258B%25E8%25BD%25BD%25E5%2599%25A8-v1-7-1%2F&from=http%3A%2F%2Fjennal.cn%2F2008%2F10%2F25%2Fschema%25E4%25B8%25AD%25E6%2597%25A0%25E9%25A1%25BA%25E5%25BA%258F%25E7%259A%2584element%25E7%259A%2584%25E5%2586%2599%25E6%25B3%2595%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/05/16583834.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 15px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">漫画下载器 v1.7.1</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://jennal.cn/2008/10/25/schema%e4%b8%ad%e6%97%a0%e9%a1%ba%e5%ba%8f%e7%9a%84element%e7%9a%84%e5%86%99%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

