Example #1
0
 def add_to_xml(self, raw_str):
     footnote_parts = self.xml.split("</p></footnote>")
     self.xml = footnote_parts[0] + "</p>" + tag.p(raw_str) + "</footnote>"
Example #2
0
 def format_for_xml(self, raw_str):
     return "<footnote label=\"" + str(
         self.number) + "\">" + tag.p(raw_str) + "</footnote>"
Example #3
0
 def format_for_xml(self, plist):
     casetext_string = ""
     for p in plist:
         casetext_string += clean_xml(tag.p(p) + "\n")
     return casetext_string
Example #4
0
 def format_for_xml(self, hlist):
     headnotes_string = ""
     for h in hlist:
         headnotes_string += clean_xml(tag.p(process_xml(h)) + "\n")
     return headnotes_string
Example #5
0
 def format_for_html(self, raw_str):
     return tag.p(raw_str)