Documentation ¶
Overview ¶
ex7.17 provides CSS-style selectors for XML.
CSS-style attribute selectors are supported. Values are optional and must be a valid Go identifier or a quoted string.
Examples:
Anchors with alt-text, that are children of a <p>:
p a[alt]
Anchors to a specific address, that are children of a tag with a `fuzzy` attribute:
[fuzzy] a[href="http://google.com"]
Click to show internal directories.
Click to hide internal directories.