API¶
Python¶
Java¶
-
class
tagterm.
Tagterm
(String path)¶ path - Path to the main Python tagterm executable used for all the processes.
-
convert
(String file)¶ Converts a validated HTML file into XHTML. Returns String meaning the converted file path.
-
converts
(String html)¶ Same as convert, but accepts HTML and returns XHTML content.
-
remove
(String file)¶ Removes all the tags under a XHTML file. Returns String meaning the removed-tags file path.
-
removes
(String html)¶ Same as remove, but accepts XHTML and returns XML content.
-
validate
(String file)¶ Validates a HTML file. Returns boolean as a status of the operation.
-
validates
(String html)¶ Same as validate, but accepts HTML content.
-