xsl-list
[Top] [All Lists]

Re: [xsl] Can this hard-coded template be generalized?

2011-10-02 18:48:26
At 2011-10-02 16:40 -0700, Mark wrote:
That will take a bit of digesting - I have to learn more XPath! I did not even know there was a distinct-values().

All the more reason to buy the book or DVD!  :{)}

BTW, I did mistype my last message in my haste (I'm busy writing yet another brand new training class for its inaugural delivery this week).

From: G. Ken Holman
Sent: Sunday, October 02, 2011 4:26 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Can this hard-coded template be generalized?
...
In the above the context node "." in the loop is the string of the
attribute (not the attribute itself) and so you leverage it to find

should be: "... and so you cannot leverage it to find ..."

surrounding source tree information.  If you still need access to the
source tree, use the grouping method to preserve the nodes.  Note
there is no definition of "/" (root node) when "." isn't a node.

. . . . . . . . Ken


--
Contact us for world-wide XML consulting and instructor-led training
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/
G. Ken Holman                   mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
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>
--~--