Versions in this module Expand all Collapse all v0 v0.1.4 Oct 4, 2026 Changes in this version + func EndTagName(b []byte) []byte + func LocalName(b []byte) []byte + func StripBOM(data []byte) ([]byte, bool) + func TargetName(b []byte) []byte + func Unescape(b []byte) string + func Unquote(b []byte) []byte + type Lexer struct + func NewLexer(data []byte) *Lexer + func (l *Lexer) AttrVal() []byte + func (l *Lexer) CData() []byte + func (l *Lexer) Data() []byte + func (l *Lexer) DecodeSpan(start int, dst any) error + func (l *Lexer) Err() error + func (l *Lexer) Next() (tt txml.TokenType, buf []byte, start int) + func (l *Lexer) ReadAttrs(h func(name string, value []byte) error) (void bool, err error) + func (l *Lexer) SkipAttrs() (bool, error) + func (l *Lexer) SpanElement(start int) ([]byte, error) + func (l *Lexer) Text() []byte