新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> DTD, XML Schema(XMLS), RELAX NG
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - XML技术『 DTD/XML Schema 』 → xsd和xml文件怎么有错 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 3203 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: xsd和xml文件怎么有错 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     xfqin 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:10
      积分:86
      门派:XML.ORG.CN
      注册:2007/7/11

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给xfqin发送一个短消息 把xfqin加入好友 查看xfqin的个人资料 搜索xfqin在『 DTD/XML Schema 』的所有贴子 引用回复这个贴子 回复这个贴子 查看xfqin的博客楼主
    发贴心情 xsd和xml文件怎么有错

    <?xml version="1.0" encoding="utf-8" ?>
    <skin xmlns="http://tempuri.org/XMLSchema.xsd">
       <CmlFontProperty name="genericFontDefault" >
          <color a="255" r="255" g="255" b="255"></color>
          <face>255</face>
          <pointsize>2</pointsize>
          <frac_pointsize>2</frac_pointsize>
          <style>2</style>
          <decoration>2</decoration>
          <leading>2</leading>
          <alignment>2</alignment>
          <rgbOutline a="255" r="255" g="255" b="255"></rgbOutline>
       </CmlFontProperty>
       <CmlFontPropertyVector name="labelFontDefault">
      <CmlFontProperty>
       <color a="255" r="255" g="255" b="255"></color>
       <face>55</face>
       <pointsize>0</pointsize>
       <frac_pointsize>2</frac_pointsize>
       <style>2</style>
          <decoration>2</decoration>
       <leading>2</leading>
       <alignment>2</alignment>
       <rgbOutline a="255" r="255" g="255" b="255"></rgbOutline>
      </CmlFontProperty>
      <CmlFontProperty>
       <color a="255" r="255" g="255" b="255"></color>
       <face>55</face>
       <pointsize>0</pointsize>
       <frac_pointsize>2</frac_pointsize>
       <style>2</style>
          <decoration>2</decoration>
       <leading>2</leading>
       <alignment>2</alignment>
       <rgbOutline a="255" r="255" g="255" b="255"></rgbOutline>
         </CmlFontProperty>
         <CmlFontProperty>
          <color a="255" r="255" g="255" b="255"></color>
          <face>55</face>
          <pointsize>0</pointsize>
          <frac_pointsize>2</frac_pointsize>
          <style>2</style>
          <decoration>2</decoration>
          <leading>2</leading>
          <alignment>2</alignment>
          <rgbOutline a="255" r="255" g="255" b="255"></rgbOutline>
         </CmlFontProperty>
         <CmlFontProperty>
          <color a="255" r="255" g="255" b="255"></color>
          <face>55</face>
          <pointsize>0</pointsize>
          <frac_pointsize>2</frac_pointsize>
          <style>2</style>
          <decoration>2</decoration>
          <leading>2</leading>
          <alignment>2</alignment>
          <rgbOutline a="255" r="255" g="255" b="255"></rgbOutline>
         </CmlFontProperty>
     </CmlFontPropertyVector>
    </skin>

    <?xml version="1.0" encoding="utf-8" ?>
    <xs:schema targetNamespace="http://tempuri.org/XMLSchema.xsd" elementFormDefault="qualified"
       xmlns="http://tempuri.org/XMLSchema.xsd" xmlns:mstns="http://tempuri.org/XMLSchema.xsd"
       xmlns:xs="http://www.w3.org/2001/XMLSchema">
       <xs:element name="skin" type="xs:anyType"></xs:element>
       <xs:simpleType name="uint8">
          <xs:restriction base="xs:integer">
             <xs:minInclusive value="0" />
             <xs:maxInclusive value="255" />
          </xs:restriction>
       </xs:simpleType>
       <xs:complexType name="RGBVAL">
          <xs:complexContent>
             <xs:restriction base="xs:anyType">
                <xs:all />
                <xs:attribute name="a" type="uint8" />
                <xs:attribute name="r" type="uint8" />
                <xs:attribute name="g" type="uint8" />
                <xs:attribute name="b" type="uint8" />
             </xs:restriction>
          </xs:complexContent>
       </xs:complexType>
       <xs:element name="CmlFontProperty">
          <xs:complexType name="CmlFontProperty">
             <xs:sequence>
                <xs:element name="color" type="RGBVAL" />
                <xs:element name="face" type="uint8" />
                <xs:element name="pointsize" type="uint8" />
                <xs:element name="frac_pointsize" type="uint8" />
                <xs:element name="style" type="uint8" />
                <xs:element name="decoration" type="uint8" />
                <xs:element name="leading" type="uint8" />
                <xs:element name="alignment" type="uint8" />
                <xs:element name="rgbOutline" type="RGBVAL" />
             </xs:sequence>
             <xs:attribute name="name" type="xs:string" use="required" />
          </xs:complexType>
       </xs:element>
       <xs:element name="CmlPaddingProperty">
          <xs:complexType>
             <xs:sequence>
                <xs:element name="left" type="uint8" />
                <xs:element name="right" type="uint8" />
                <xs:element name="top" type="uint8" />
                <xs:element name="bottom" type="uint8" />
             </xs:sequence>
             <xs:attribute name="name" type="xs:string" use="required" />
          </xs:complexType>
       </xs:element>
       <xs:element name="CmlFontPropertyVector">
      <xs:complexType>
       <xs:sequence>
        <xs:element ref="CmlFontProperty" maxOccurs="unbounded"/>
       </xs:sequence>
       <xs:attribute name="name" type="xs:string" use="required"/>
      </xs:complexType>
     </xs:element>
    </xs:schema>

    谢谢!


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2007/7/16 16:08:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 DTD/XML Schema 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/5/30 14:09:48

    本主题贴数1,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    3,839.844ms