xsl-list
[Top] [All Lists]

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

2006-04-13 09:27:04
 

-----Original Message-----
From: Florent Georges [mailto:darkman_spam(_at_)yahoo(_dot_)fr] 
Sent: Thursday, April 13, 2006 11:53 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [SPAM] RE: [xsl] Still not getting document() function

  I didn't understand what in the description of your problem 
was related to 'document()'.  But a call to 'document()' 
gives you a root node (XSLT 1.0 terminology).  Use it as any 
root node:

    document('...')/*[1]

will give you the root element, for example.

Okay, I'll try to be clearer.

The file I inserted (ClientInfo.xml) will be the file I refer to in the
document() function.

So, if I want the docName, it would be
document('ClientInfo.xml')/*[docName]??

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