Subject: [xsl] template match based on external document From: "Lincoln" <lincoln.mitchell@xxxxxxxxxx> Date: Wed, 23 Aug 2006 17:00:50 +0800 |
I want to create a template who's match attribute is partly derived from an external xml document (in particular an attribute of a node in the external xml document). Once matched I need to then access other attributes from the external doc Is this possible? I know this code is wrong but it illustrates my thinking at the moment: --- <xsl:template match="g[@id=document('doc.xml')//object@id]"> <xsl:value-of select="document('doc.xml')//object@type"/> </xsl:template> --- Is something like this template possible? Am I way of target? Any ideas? Kind Regard, Linc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl:call-template problem, Lin, Jessica | Thread | Re: [xsl] template match based on e, David Carlisle |
Re: [xsl] Regular expression for ma, Carlo Liwanag | Date | [xsl] Obtain depth to create relati, ASB 98 |
Month |