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

Subject: RE: [xsl] Still not getting document() function
From: "Gosselin, Michael" <Michael.Gosselin@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Apr 2006 12:49:30 -0400
> -----Original Message-----
> From: Jon Gorman [mailto:jonathan.gorman@xxxxxxxxx] 
> Sent: Thursday, April 13, 2006 12:40 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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

Current Thread