[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

helpful xpath utilities (for IE5)


Subject: helpful xpath utilities (for IE5)
From: "Aaron Skonnard" <aarons@xxxxxxxxxxx>
Date: Mon, 3 Jul 2000 10:53:05 -0600

Here are a couple of new IE/DHTML utilities for XPath. The first is an
interactive XPath/XSLPatterns expression builder. If you saw my previous
one, this one is a big improvement because it highlights the selected nodes
as you type. If you're trying to learn XPath, it might be helpful. It also
places a dot in front of the selected nodes to help identify the selection
if you type something like this: //*

[1] http://staff.develop.com/aarons/bits/xpath-builder
(requires IE5 and MSXML 3.0)

The second utility automatically abbreviates a verbose XPath expression. It
collapses 'child::', 'attribute::', '/descendant-or-self::node()/',
'self::node()', 'parent::node()', and [position() = 5] variants into their
corresponding abbreviations.

[2] http://staff.develop.com/aarons/bits/xpath-compress
(only requires IE4, I think)

If you find these useful, you may want to check out this similar XSLT
utility:

[3] http://staff.develop.com/aarons/bits/dhtml-xslt/default.htm

Any feedback is appreciated,

-aaron
http://staff.develop.com/aarons


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords