[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Easy one! variables & documents)
Karl,
I didn't notice the copy-of that you have in the variable. Try the following to yield a nodeset that you can apply a for-each to. <xsl:variable name="xmTmplt"select="document('usr_member.xml')//FLDS"/> -rick At 02:07 PM 4/30/03 -0700, you wrote: I am reading an external xml document into a variable at the very top of my stylesheet (is this legal?)... later I loop through this document.. but I don't know how to access the variable in a select statement (it doesn't like the $ in the select statement). Here's the code:
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
|