easier shortcut from the Console's command-line:
>>> $x({xpath-expression}); // copied from HTML panel's status bar
You can use document.evaluate() but this is a lot simpler. Good luck!
On Jan 6, 10:33 pm, "Brian L. Matthews" <[email protected]> wrote:
> > I see that Firebug allows you to easily copy the XPath expression that
> > selects a specific node in the DOM. But is there a way to easily get a
> > JavaScript statement for selecting a node?
>
> Not that I know of, but you probably don't want such a thing anyways.
> Google document.evaluate for how to use the XPath expression.
>
> Brian
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en.