Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
goxpp
✓ github.com/mmcdole/goxpp
Parse XML using a pull parser
package main
import (
"fmt"
"github.com/mmcdole/goxpp"
)
func main() {
p := goxpp.NewXMLPullParser("<root>text</root>", 0)
for {
token, _ := p.Next()
if token == goxpp.EndDocument {
break
}
fmt.Println(token)
}
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.