Guest User

Untitled

a guest
Feb 14th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:complexType name="ficha">
  4. <xs:attribute name="numero" type="xs:decimal"/>
  5. <xs:element name="nombre" type="xs:NMTOKEN"/>
  6. <xs:element name="edad" type="xs:decimal"/>
  7. </xs:complexType>
  8. </xs:schema>
  9.  
  10. <?xml version="1.0" encoding="UTF-8"?>
  11. <fichas xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemalLocation="fichas.xsd">
  12. <ficha numero="1">
  13. <nombre>Ana Sanz Tin</nombre>
  14. <edad>22</edad>
  15. </ficha>
  16. <ficha numero="2">
  17. <nombre>Iker Rubio Mol</nombre>
  18. <edad>23</edad>
  19. </ficha>
  20. </fichas>
Add Comment
Please, Sign In to add comment