Method: IsoDoc::WordFunction::Postprocess#table_toc_xpath
- Defined in:
- lib/isodoc/word_function/postprocess_toc.rb
#table_toc_xpath ⇒ Object
122 123 124 125 |
# File 'lib/isodoc/word_function/postprocess_toc.rb', line 122 def table_toc_xpath attr = table_toc_class.map { |x| "@class = '#{x}'" } "//p[#{attr.join(' or ')}]" end |