Parse returns the parse tree for the XML from the given Reader.
(r io.Reader)
| 33 | |
| 34 | // Parse returns the parse tree for the XML from the given Reader. |
| 35 | func Parse(r io.Reader) (*Node, error) { |
| 36 | return ParseWithOptions(r, ParserOptions{}) |
| 37 | } |
| 38 | |
| 39 | // ParseWithOptions is like parse, but with custom options |
| 40 | func ParseWithOptions(r io.Reader, options ParserOptions) (*Node, error) { |
searching dependent graphs…