File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ def extract_doc_list(parentNode, tagName):
293293 updated_by = extract_doc_list (node , "updated-by" )
294294 obsoletes = extract_doc_list (node , "obsoletes" )
295295 obsoleted_by = extract_doc_list (node , "obsoleted-by" )
296+ pages = get_child_text (node , "page-count" )
296297 stream = get_child_text (node , "stream" )
297298 wg = get_child_text (node , "wg_acronym" )
298299 if wg and ((wg == "NON WORKING GROUP" ) or len (wg ) > 15 ):
@@ -302,8 +303,6 @@ def extract_doc_list(parentNode, tagName):
302303 pages = ""
303304 for fmt in node .getElementsByTagName ("format" ):
304305 l .append (get_child_text (fmt , "file-format" ))
305- if get_child_text (fmt , "file-format" ) == "ASCII" :
306- pages = get_child_text (fmt , "page-count" )
307306 file_formats = ("," .join (l )).lower ()
308307
309308 abstract = ""
You can’t perform that action at this time.
0 commit comments