(CC/PP)结构和词汇 1.0[19]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 ljp19820721 的 blog

ent, range=ccpp:string

客户词汇schema

(schema uri: http://www.w3.org/2002/11/08-ccpp-client)

图 c-2:客户词汇的rdf schema
<?xml version='1.0'?>

<!doctype rdf:rdf [
  <!entity ns-rdf  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
  <!entity ns-rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
  <!entity ns-ccpp 'http://www.w3.org/2002/11/08-ccpp-schema#'>
  <!entity ns-ccpp-client 'http://www.w3.org/2002/11/08-ccpp-client#'>
]>

<rdf:rdf
  xmlns:rdf         = '&ns-rdf;'
  xmlns:rdfs        = '&ns-rdfs;'
  xmlns:ccpp        = '&ns-ccpp;'
  xmlns:ccpp-client = '&ns-ccpp-client;'>

<!--  cc/pp attribute property definitions -->

  <!-- these properties represent some common vocabulary that is     -->
  <!-- available for use by applications that need to indicate       -->
  <!-- the common features indicated by these attributes.  they      -->
  <!-- serve as an example of how a new attribute vocabulary can     -->
  <!-- be defined for use in a cc/pp profile.                        -->

  <ccpp:attribute rdf:about='&ns-ccpp-client;deviceidentifier'>
    <rdfs:label xml:lang="en">client device identifier</rdfs:label>
    <rdfs:domain rdf:resource='&ns-ccpp;component'/>
    <rdfs:range  rdf:resource='&ns-ccpp;string'/>
    <rdfs:comment xml:lang="en">
      a uri that identifies the type of client device or user agent.
    </rdfs:comment>
  </ccpp:attribute>

  <ccpp:attribute rdf:about='&ns-ccpp-client;type'>
    <rdfs:label xml:lang="en">mime content type</rdfs:label>
    <rdfs:domain rdf:resource='&ns-ccpp;component'/>
    <rdfs:range  rdf:resource='&ns-rdf;bag'/>
    <rdfs:comment xml:lang="en">
      a string containing a mime content-type, or a set of such strings,
      indicating the mime content-types that can be handled.
    </rdfs:comment>
  </ccpp:attribute>

  <ccpp:attribute rdf:about='&ns-ccpp-client;schema'>
    <rdfs:label xml:lang="en">schema identifier</rdfs:label>
    <rdfs:domain rdf:resource='&ns-ccpp;component'/>
    <rdfs:range  rdf:resource='&ns-ccpp;string'/>
    <rdfs:comment xml:lang="en">
      a uri that identifies a language or dtd that is recognized by
      the client, or a set of such uris.

      specific values of this attribute may be applicable to certain
      mime content types.  for example, a uri that is associated with
      a resource containing an xml dtd will generally be applicable
      only with text/xml or application/xml content types.
    </rdfs:comment>
  </ccpp:attribute>

  <ccpp:attribute rdf:about='&ns-ccpp-client;charwidth'>
    <rdfs:label xml:lang="en">character display width</rdfs:label>
    <rdfs:domain rdf:resource='&ns-ccpp;component'/>
    <rdfs:range  rdf:resource='&ns-ccpp;integer'/>
    <rdfs:comment xml:lang="en">
      for character displays, the number of characters that can be
      rendered across the display.  for displays using a proportional
      font, this is the display width in typographical 'em's.
    </rdfs:comment>
  </ccpp:attribute>

  <ccpp:attribute rdf:about='&ns-ccpp-client;charheight'>
    <rdfs:label xml:lang="en">character display height</rdfs:label>
    <rdfs:domain rdf:resource='&ns-ccpp;component'/>
    <rdfs:range  rdf:resource='&ns-ccpp;integer'/>
    <rdfs:comment xml:lang="en">
      for character displays, the number of rows of characters that
      can be displayed.
    </rdfs:comment>
  </ccpp:attribute>

  <ccpp:attribute rdf:about='&ns-ccpp-client;charset'>
    <rdfs:label xml:lang="en">character set encoding</rdfs:label>
    <rdfs:domain rdf:resource='&ns-ccpp;component'/>
    <rdfs:range  rdf:resource='&ns-rdf;bag'/>
    <rdfs:comment xml:lang="en">
      for character displays, the mime 'charset' values that
      can be handled.
    </rdfs:comment>
  </ccpp:attribute>

  <ccpp:attribute rdf:about='&ns-ccpp-client;pix-x'>
    <rdfs:label xml:lang="en">pixel display width</rdfs:label>
    <rdfs:domain rdf:resource='&ns-ccpp;component'/>
    <rdfs:range  rdf:resource='&ns-ccpp;integer'/>
    <rdfs:comment xml:lang="en">
   

本文关键:(CC/PP)结构和词汇 1.0
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top