dbschema.dtd 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!--
  2. * $Id: dbschema.dtd 4518 2008-07-28 15:39:28Z henningw $
  3. *
  4. * XSL converter script for common definitions
  5. *
  6. * Copyright (C) 2001-2007 FhG Fokus
  7. *
  8. * This file is part of Kamailio, a free SIP server.
  9. *
  10. * Kamailio is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License as published by
  12. * the Free Software Foundation; either version 2 of the License, or
  13. * (at your option) any later version
  14. *
  15. * Kamailio is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program; if not, write to the Free Software
  22. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  23. *
  24. */
  25. -->
  26. <!ELEMENT database (name, description?, table*)>
  27. <!ATTLIST database
  28. id ID #IMPLIED
  29. >
  30. <!ELEMENT name (#PCDATA) >
  31. <!ELEMENT description (#PCDATA) >
  32. <!ELEMENT table (name, description?, version?, column+, index*, row*) >
  33. <!ATTLIST table
  34. id ID #IMPLIED
  35. >
  36. <!ELEMENT version (#PCDATA) >
  37. <!ELEMENT column (name, description?, type, size?, default?, null?, primary?, natural?, autoincrement?) >
  38. <!ATTLIST column
  39. id ID #IMPLIED
  40. >
  41. <!ELEMENT index (name?, unique?, primary?, colref+) >
  42. <!ATTLIST index
  43. id ID #IMPLIED
  44. >
  45. <!ELEMENT type (#PCDATA) >
  46. <!ELEMENT size (#PCDATA) >
  47. <!ELEMENT default (#PCDATA) >
  48. <!ELEMENT null EMPTY >
  49. <!ELEMENT unique EMPTY >
  50. <!ELEMENT primary EMPTY >
  51. <!ELEMENT natural EMPTY >
  52. <!ELEMENT autoincrement EMPTY >
  53. <!ELEMENT colref EMPTY>
  54. <!ATTLIST colref
  55. linkend IDREF #REQUIRED
  56. >