2013-05-09 66 views
2

是否有任何使用XML模式創建表的方法?我也想知道我是否可以使用動態表這種方法以及使用xml模式創建動態django模型

更新:

<?xml version="1.0"?> 
<xs:schema xmlns:xs="http://www.Lahiruzz.com"> 

<xs:element name="note"> 
<xs:complexType> 
<xs:sequence> 
<xs:element name="to" type="xs:string"/> 
<xs:element name="from" type="xs:string"/> 
<xs:element name="heading" type="xs:string"/> 
<xs:element name="body" type="xs:string"/> 
</xs:sequence> 
</xs:complexType> 

+0

能否請您提供您想要創建一個示例XML模式一張桌子? – alecxe 2013-05-09 11:50:40

+0

我更新了我的問題。請查看。 – Lahiruzz 2013-05-10 04:12:02

回答