Subject: Re: [xsl] Can this hard-coded template be generalized? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sun, 02 Oct 2011 19:47:31 -0400 |
That will take a bit of digesting - I have to learn more XPath! I did not even know there was a distinct-values().
From: G. Ken Holman Sent: Sunday, October 02, 2011 4:26 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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
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.
-- Contact us for world-wide XML consulting and instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Can this hard-coded templ, Mark | Thread | Re: [xsl] Can this hard-coded templ, Tony Graham |
Re: [xsl] Can this hard-coded templ, Mark | Date | Re: [xsl] change xslt processing or, Brandon Ibach |
Month |