How-to guides¶
Task-focused recipes, one job each. The guides sit in the eight turbohtml namespaces the Reference and Migrating to turbohtml use, with a Workflows group for multi-step tasks and a Getting help group for the shell and common fixes. Each page is a short, self-contained walkthrough you can lift straight into your own code.
- Workflows
- Parse & DOM
- Parse HTML into a tree
- Parse XML into a tree
- Tokenize HTML
- Parse with SAX callbacks
- Parse into your own tree
- Rewrite HTML without building a tree
- Edit the tree
- Inspect a node you already hold
- Work with ranges of the tree
- Observe tree mutations
- Use the Shadow DOM
- Work with forms
- Migrate from html.parser.HTMLParser
- Detect
- Query
- Clean
- Convert & transform
- Extract
- Build
- Serialize
- Validate
- Getting help