From 7c2b84e7a1b9f882fd53b6c0345536ee98e6a4b4 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Thu, 23 Jun 2005 16:06:25 +0000 Subject: [PATCH] fix for shortened tags --- refpolicy/support/sedoctool.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/refpolicy/support/sedoctool.py b/refpolicy/support/sedoctool.py index bac2233e..0efce0c9 100755 --- a/refpolicy/support/sedoctool.py +++ b/refpolicy/support/sedoctool.py @@ -225,7 +225,7 @@ def gen_docs(doc, dir, templatedir): for desc in node.getElementsByTagName("summary"): if desc.parentNode == node: mod_summary = format_html_desc(desc) - for desc in node.getElementsByTagName("description"): + for desc in node.getElementsByTagName("desc"): if desc.parentNode == node: mod_desc = format_html_desc(desc) @@ -235,15 +235,15 @@ def gen_docs(doc, dir, templatedir): interface_desc = interface_secdesc = interface_summary = None for i,v in interface.attributes.items(): interface_name = v - for desc in interface.getElementsByTagName("description"): + for desc in interface.getElementsByTagName("desc"): interface_desc = format_html_desc(desc) - for desc in interface.getElementsByTagName("securitydesc"): + for desc in interface.getElementsByTagName("secdesc"): if desc: interface_secdesc = format_html_desc(desc) for desc in interface.getElementsByTagName("summary"): interface_summary = format_html_desc(desc) - for args in interface.getElementsByTagName("parameter"): + for args in interface.getElementsByTagName("param"): paramdesc = args.firstChild.data paramname = None paramopt = "No"