xsl-list
[Top] [All Lists]

Re: [xsl] teaching / learning axes

2011-05-30 04:45:54
On Sun, May 29, 2011 10:33 pm, Philip Fearon wrote:
Wouldn't a more interactive approach be to provide an online tool that
lets you trace each step of any real XPath expression (by clicking on
it), including axes and predicates, lighting up node 'hits' (against a
selected source XML) on a tree view as you go? Or perhaps a more
abstract view helps with the learning process.

My interactive approach when teaching XPath is firstly showing diagrams of
the axes for a simple document from the attendees' own field (or a more
generic one for an open class) then secondly giving attendees pieces of
paper identifying one of the nodes and asking them to sort themselves into
document order, identify their children and ancestors, etc.  People do
tend to get it quite well when they are the document.

Regards,


Tony Graham                                   tgraham(_at_)mentea(_dot_)net
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL FO and XSLT consulting, training and programming


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--