xml文件在这里:
http://wap.sonyericsson.com/UAprof/T68R201.xml
哪位大虾能帮我转一下,我手头没有工具,又不会写。
可用即给分。
---------------------------------------------------------------
xmlspy5专业版可以根据xml生成xsd.
试试看
---------------------------------------------------------------
1<rdf xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:s="http://www.w3.org/2000/01/rdf-schema#">
2<!--
3This is the RDF Schema for the RDF data model as described in the
4Resource Description Framework (RDF) Model and Syntax Specification
5http://www.w3.org/TR/REC-rdf-syntax -->
6<s:class rdf:id="Statement" s:comment="A triple consisting of a predicate, a subject, and an object."></s:class>
7<s:class rdf:id="Property" s:comment="A name of a property, defining specific meaning for the property"></s:class>
8<s:class rdf:id="Bag" s:comment="An unordered collection"></s:class>
9<s:class rdf:id="Seq" s:comment="An ordered collection"></s:class>
10<s:class rdf:id="Alt" s:comment="A collection of alternatives"></s:class>
11<property id="predicate" s:comment="Identifies the property used in a statement when representing the statement in reified form">
12<s:domain rdf:resource="#Statement"></s:domain>
13<s:range rdf:resource="#Property"></s:range>
14</property>
15<property id="subject" s:comment="Identifies the resource that a statement is describing when representing the statement in reified form">
16<s:domain rdf:resource="#Statement"></s:domain>
17</property>
18<property id="object" s:comment="Identifies the object of a statement when representing the statement in reified form"></property>
19<property id="type" s:comment="Identifies the Class of a resource"></property>
20<property id="value" s:comment="Identifies the principal value (usually a string) of a property when the property value is a structured resource"></property>
21</rdf>