saxlike:类似于SAX(XML的简单API)的golang API

时间:2024-06-13 11:57:36
【文件属性】:

文件名称:saxlike:类似于SAX(XML的简单API)的golang API

文件大小:4KB

文件格式:ZIP

更新时间:2024-06-13 11:57:36

Go

萨克斯般 类似于SAX(XML的简单API)的golang API 处理程序实现: type CompleteHandler struct {} func ( h * CompleteHandler ) StartDocument (){ fmt . Println ( "doc start" ) } func ( h * CompleteHandler ) EndDocument (){ fmt . Println ( "doc end" ) } func ( h * CompleteHandler ) StartElement ( element xml. StartElement ){ fmt . Println ( "start " , element . Name . Space , ":" , element . Name . Local ) } func (


【文件预览】:
saxlike-master
----.gitignore(252B)
----LICENSE(1KB)
----handler.go(1KB)
----README.md(1KB)
----parser.go(2KB)
----saxlike_test.go(1KB)

网友评论