Subject: RE: [xsl] Conditionally compare dates from two XML docs? From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Fri, 21 Feb 2003 09:58:19 -0000 |
> How do I access the 'date1' from the original source tree, > now that I'm processing the external document 'AddNews.xml'? > i.e, change context from one document to another? Bind a variable to the original context before calling document(), and then use path expressions that start with that variable: <xsl:variable name="d" select="."/> ... <xsl:value-of select="$d/x/y/z"/> Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Conditionally compare dat, Jeni Tennison | Thread | AW: [xsl] How to Save Transformed X, Zink, Juergen |
Re: [xsl] problem with xsl:sort, Lorenzo De Tomasi | Date | Re: [xsl] problem with xsl:sort, David Carlisle |
Month |