[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl-list Digest 28 May 2008 05:10:01 -0000 Issue 1

Subject: Re: xsl-list Digest 28 May 2008 05:10:01 -0000 Issue 1511
From: "Ronnie Royston" <rhroyston@xxxxxxxxx>
Date: Wed, 28 May 2008 11:26:22 -0500
 Re: xsl-list Digest 28 May 2008 05:10:01 -0000 Issue 1
David Carlisle, thank you for putting me on the right track!  Wow, I
was way off in the weeds.

XSL is overwhelming and although I sometimes feel like it is beyond my
reach, I'm not going to give up.  All I know is that reading about
this stuff is disorienting and humiliating - you gotta get to the
keyboard and try.  XSL will be learned by doing, not by reading IMHO.
I wish someone would publish a series of exercises that I could
perform, ones that build on one another.  Maybe I will re-visit Jeni
Tennison's book again.

So, your beautifully crafted instruction:

> <xsl:value-of
>    select="for $s in $skus return key('sku',$s[document('mySkus.xml')/skus/sku[starts-with(.,$s)]],$root)/name"
>    separator=", "/>

leads me to read more on sequence expressions.  I've got to go figure
out why the <xsl:for-each> was not the correct way, how the locally
defined <$s> variable works, and how the brackets <[]> work.

Interesting that IE and Firefox fail to transform using the stylesheet
where Saxon does it just fine.  I guess they don't have built-in
version 2 XSLT and/or XPATH features?...  I'll have to figure out how
to call a Saxon transformation from VBA when the time comes.

Anyways, thanks, and boy is the World Wide Web (this mailing list) cool!

- Ronnie

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.