| |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||||||||||||
| The central type in TagSoup | |||||||||||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Data structures and parsing | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| An HTML attribute id="name" generates ("id","name") | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Tag identification | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Test if a Tag is a TagOpen | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Test if a Tag is a TagClose | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Test if a Tag is a TagText | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Test if a Tag is a TagWarning | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Returns True if the Tag is TagOpen and matches the given name | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Returns True if the Tag is TagClose and matches the given name | |||||||||||||||||||||||||||||||||||||
| Extraction | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Extract the string from within TagText, crashes if not a TagText | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Extract an attribute, crashes if not a TagOpen. Returns "" if no attribute present. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Extract the string from within TagText, otherwise Nothing | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Extract the string from within TagWarning, otherwise Nothing | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Extract all text content from tags (similar to Verbatim found in HaXml) | |||||||||||||||||||||||||||||||||||||
| Produced by Haddock version 2.1.0 |