xmltoman.dtd 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!-- $Id: xmltoman.dtd 16 2004-01-23 23:20:25Z lennart $ -->
  2. <!--
  3. This file is part of ifmetric.
  4. ifmetric is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free
  6. Software Foundation; either version 2 of the License, or (at your
  7. option) any later version.
  8. ifmetric is distributed in the hope that it will be useful, but WITHOUT
  9. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with ifmetric; if not, write to the Free Software Foundation,
  14. Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  15. -->
  16. <!ELEMENT manpage (synopsis | description | section | options | seealso)*>
  17. <!ATTLIST manpage name CDATA #REQUIRED section CDATA #REQUIRED desc CDATA #IMPLIED>
  18. <!ELEMENT arg (#PCDATA)>
  19. <!ELEMENT p (#PCDATA | arg | url | manref | opt | file )*>
  20. <!ELEMENT synopsis (cmd | p)+>
  21. <!ELEMENT description (p)+>
  22. <!ELEMENT section (p | option)*>
  23. <!ATTLIST section name CDATA #REQUIRED>
  24. <!ELEMENT option (#PCDATA | p | optdesc)*>
  25. <!ELEMENT optdesc (#PCDATA | p )*>
  26. <!ELEMENT cmd (#PCDATA | arg)*>
  27. <!ELEMENT options (p | option)*>
  28. <!ELEMENT seealso (p)*>
  29. <!ELEMENT opt (#PCDATA)>
  30. <!ELEMENT file (#PCDATA)>
  31. <!ELEMENT manref EMPTY>
  32. <!ATTLIST manref name CDATA #REQUIRED section CDATA #REQUIRED href CDATA #IMPLIED>
  33. <!ELEMENT url EMPTY>
  34. <!ATTLIST url href CDATA #REQUIRED>