Functions for parsing markup from a given input source, as well as string and filename functions for added convenience.
HTML/XHTML version determined from input.
Functions | |
| int TIDY_CALL | tidyParseBuffer (TidyDoc tdoc, TidyBuffer *buf) |
| Parse markup in given buffer. | |
| int TIDY_CALL | tidyParseFile (TidyDoc tdoc, ctmbstr filename) |
| Parse markup in named file. | |
| int TIDY_CALL | tidyParseSource (TidyDoc tdoc, TidyInputSource *source) |
| Parse markup in given generic input source. | |
| int TIDY_CALL | tidyParseStdin (TidyDoc tdoc) |
| Parse markup from the standard input. | |
| int TIDY_CALL | tidyParseString (TidyDoc tdoc, ctmbstr content) |
| Parse markup in given string. | |
Parse markup in given buffer.
| tdoc | The tidy document to use for parsing. |
| buf | The TidyBuffer containing data to parse. |
Parse markup in named file.
| tdoc | The tidy document to use for parsing. |
| filename | The filename to parse. |
| int TIDY_CALL tidyParseSource | ( | TidyDoc | tdoc, |
| TidyInputSource * | source ) |
Parse markup in given generic input source.
| tdoc | The tidy document to use for parsing. |
| source | A TidyInputSource containing data to parse. |
Parse markup from the standard input.
| tdoc | The tidy document to use for parsing. |
Parse markup in given string.
Note that the supplied string is of type ctmbstr based on char and therefore doesn't support the use of UTF-16 strings. Use tidyParseBuffer() if parsing multibyte strings.
| tdoc | The tidy document to use for parsing. |
| content | The string to parse. |