Diff for /ECHO_content/vlp_xmlhelpers.py between versions 1.2 and 1.3

version 1.2, 2004/10/05 14:58:56 version 1.3, 2004/10/05 17:29:41
Line 63  def proj2hash(self,xmlstring): Line 63  def proj2hash(self,xmlstring):
                 addToDict(list,'WEB_project_header',sec[1]) # store title                  addToDict(list,'WEB_project_header',sec[1]) # store title
                 addToDict(list,'WEB_project_description',sec[2]) #store description                  addToDict(list,'WEB_project_description',sec[2]) #store description
             else: # no information in heading              else: # no information in heading
                 level=sec[3]                  level=int(sec[3])+2
                 aTag="<h%s>"%level                  aTag="<h%i>"%level
                 eTag="</h%s>"%level                  eTag="</h%i>"%level
                 addToDict(list,"text",aTag+sec[1]+eTag)                  addToDict(list,"text",aTag+sec[1]+eTag)
                 addToDict(list,"text",sec[2])                  addToDict(list,"text",sec[2])
         sectionXPath+="/section"          sectionXPath+="/section"

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>