[BACK]Return to xml.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/xml.c between version 1.18 and 1.20

version 1.18, 2008/12/07 21:30:49 version 1.20, 2008/12/08 12:46:28
Line 44  static int  xml_begin(struct md_mbuf *,
Line 44  static int  xml_begin(struct md_mbuf *,
                                 const struct md_args *,                                  const struct md_args *,
                                 const struct tm *,                                  const struct tm *,
                                 const char *, const char *,                                  const char *, const char *,
                                 const char *, const char *);                                  enum roffmsec, const char *);
 static  int             xml_end(struct md_mbuf *,  static  int             xml_end(struct md_mbuf *,
                                 const struct md_args *);                                  const struct md_args *);
 static  ssize_t         xml_printtagname(struct md_mbuf *,  static  ssize_t         xml_printtagname(struct md_mbuf *,
Line 123  xml_printtagname(struct md_mbuf *mbuf, enum md_ns ns, 
Line 123  xml_printtagname(struct md_mbuf *mbuf, enum md_ns ns, 
 static int  static int
 xml_begin(struct md_mbuf *mbuf, const struct md_args *args,  xml_begin(struct md_mbuf *mbuf, const struct md_args *args,
                 const struct tm *tm, const char *os,                  const struct tm *tm, const char *os,
                 const char *title, const char *section,                  const char *title, enum roffmsec section,
                 const char *vol)                  const char *vol)
 {  {
   
Line 131  xml_begin(struct md_mbuf *mbuf, const struct md_args *
Line 131  xml_begin(struct md_mbuf *mbuf, const struct md_args *
                                 "encoding=\"UTF-8\"?>\n", NULL))                                  "encoding=\"UTF-8\"?>\n", NULL))
                 return(0);                  return(0);
         return(ml_puts(mbuf, "<mdoc xmlns:block=\"block\" "          return(ml_puts(mbuf, "<mdoc xmlns:block=\"block\" "
                                 "xmlns:special=\"special\" "                                  "xmlns:body=\"body\" "
                                   "xmlns:head=\"head\" "
                                 "xmlns:inline=\"inline\">", NULL));                                  "xmlns:inline=\"inline\">", NULL));
 }  }
   
Line 198  int
Line 199  int
 xml_alloc(void **p)  xml_alloc(void **p)
 {  {
   
           *p = NULL;
         return(1);          return(1);
 }  }
   

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.20

CVSweb