xsl-list
[Top] [All Lists]

RE: [xsl] Still not getting document() function

2006-04-13 09:45:42
 

-----Original Message-----
From: Jon Gorman [mailto:jonathan(_dot_)gorman(_at_)gmail(_dot_)com] 
Sent: Thursday, April 13, 2006 12:40 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Still not getting document() function

Quick answer.
document('ClientInfo.xml')/ gets you the root document.  Then 
you can treat it like any other XPath.  (Similar to variables 
and parameters node-sets as well)

Say..something like:
document('ClientInfo.xml')/lab:CIInfo/lab:mailing/lab:docname[
. = $currentName]

I'll give this a try, and keep you posted.

Michael

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