Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <Data>
  3. <FIELD name='toto'>
  4. <META mono='false' dynamic='false'>
  5. <COLUMN1>
  6. <REFTABLE>table</REFTABLE>
  7. <REFCOLUMN>key_column</REFCOLUMN>
  8. <REFLABELCOLUMN>test_column</REFLABELCOLUMN>
  9. </COLUMN1>
  10. <COLUMN2>
  11. <REFTABLE>table</REFTABLE>
  12. <REFCOLUMN>key_column</REFCOLUMN>
  13. <REFLABELCOLUMN>test_column</REFLABELCOLUMN>
  14. </COLUMN2>
  15. </META>
  16. <VALUEs>
  17. <VALUE>...</VALUE>
  18. </VALUEs>
  19. </FIELD>
  20.  
  21. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  22. <xsd:element name="Data">
  23. <xsd:complexType>
  24. <xsd:sequence>
  25. <xsd:element name="FIELD" type="Field" />
  26. </xsd:sequence>
  27. <xsd:attribute name="id" type="xsd:int" use="required" />
  28. </xsd:complexType>
  29. </xsd:element>
  30.  
  31. <xsd:complexType name="dataSourceDef">
  32. <xsd:sequence>
  33. <xsd:element name="DSD_REFTABLE" type="xsd:string" />
  34. <xsd:element name="DSD_REFCOLUMN" type="xsd:string" />
  35. <xsd:element name="DSD_REFLABELCOLUMN" type="xsd:string" />
  36. </xsd:sequence>
  37. </xsd:complexType>
  38.  
  39. <xsd:complexType name="MetaTag">
  40. <xsd:sequence>
  41. <xsd:any processContents="lax" />
  42. </xsd:sequence>
  43. <xsd:attribute name="mono" type="xsd:string" use="required" />
  44. <xsd:attribute name="dynamic" type="xsd:string" use="required"/>
  45. </xsd:complexType>
  46.  
  47. <xsd:complexType name="Field">
  48. <xsd:sequence>
  49. <xsd:element name="META" type="MetaTag" minOccurs="1" />
  50. <xsd:element name="VALUEs">
  51. <xsd:complexType>
  52. <xsd:sequence>
  53. <xsd:any processContents="lax" />
  54. </xsd:sequence>
  55. </xsd:complexType>
  56. </xsd:element>
  57. </xsd:sequence>
  58. <xsd:attribute name="name" type="xsd:string" use="required"/>
  59. </xsd:complexType>
  60. </xsd:schema>
  61.  
  62. <xsd:sequence>
  63. <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  64. </xsd:sequence>
  65.  
  66. <COLUMN name="Column1"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement