SelectElement finds child elements with the specified name.
(name string)
| 17 | |
| 18 | // SelectElement finds child elements with the specified name. |
| 19 | func (n *Node) SelectElement(name string) *Node { |
| 20 | return FindOne(n, name) |
| 21 | } |
| 22 | |
| 23 | // SelectAttr returns the attribute value with the specified name. |
| 24 | func (n *Node) SelectAttr(name string) string { |