From: "Cory Isaacson" <[EMAIL PROTECTED]>

I don't see the '$params' declared anywhere. I assume that's just the URI
for the parameters document?

Would it be possible to put the params document root into a variable, and
then reference its contents anywhere in the rest of the XSLT?
Yes, I goofed and forgot to include the <xsl:param name="params" select="'list.xml'"/> at the top of the stylesheet. Once it's there, it's globally accessible unless overridden locally. (Select is only the default, of course; I'm lazy and tend to use the same name all over so that I don't have to put any params in.)

If you use xpath expressions in there, you'll still have to use xalan:evaluate, but since you only mentioned params I assume that's not needed. I just tend to build overly general functions/templates to handle all of my databases.

The $root thing is obviously a hack, and may be an issue since I believe the entire sequence under the main document root has to be copied in. I'm not entirely sure how that works. If anyone has a better method of recording and returning to an arbitrary context, I'd love to hear it.

Thanks very much for the excellent tip.
Glad I could help. ^_^


Swiftpaw Foxyshadis, wildlife artist
[EMAIL PROTECTED] | http://foxyshadis.slightlydark.com/


_________________________________________________________________
Unlimited Internet access for only $21.95/month.� Try MSN! http://resourcecenter.msn.com/access/plans/2monthsfree.asp

Reply via email to