|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE: building a nodeset from selected nodes
Hall, Kurt wrote:
> Thanks, but doesn't the instruction:
> <xsl:for-each select="key('columns-by-name', column)">
> get a node-set of columns where name=column? I need an instruction
that can get a node-set of columns where name IN (col1, col2, ...).
>
> Re: using an apply-templates: I don't think I can use it as a way to
> generate my node-list which can then be passed to a call-template.
> The problem I see is that if I separate the node-set generation
> from my transformation of that node set, I've got to use a variable
> to connect the two (which I can't do because I don't have access to
> the nodeset() extension).
Hi Kurt,
Wendel gave you the key to the exact solution to your problem.
You don't understand it at present and this means that you need to read a good book
on XSLT -- I'd recommend Mike Kay's "XSLT Programmer's Reference".
Otherwise the only way to show to you that Wendel's solution is correct, would be to
write the complete code of the stylesheet so that when you apply it to your xml
source you'll have to agree with the fact that it produces exactly the desired
output.
But of course, this would not be useful to you at all -- you need to be gettting
some experience -- therefore read more and try to write XSLT code.
Cheers,
Dimitre Novatchev.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








