|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: AW: Xpath as variable - bis
Hi there,
Overlooked the fact that you were using concat. Sorry. But I think the concat is not used properly. From you comment below, I understand that you try to concatenate two parts of an XPath expression and to evaluate that. In you code you are actually retrieving the document and combining the string value of the full document with the second part of the XPath expression: <xsl:variable name="mainXML_node" select="document('../XML/PM-EA-AA_IA_PA_TA.xml')"/>
(...)
<xsl:for-each-group select="concat($mainXML_node,$path)" group-by="@SAObjName">
(...)You probably want to do something like: <xsl:variable name="xpath">
<xsl:text>document('../XML/PM-EA-AA_IA_PA_TA.xml')</xsl:text>
<xsl:value-of select="@XPath" />
</xsl:variable><xsl:for-each-group select="saxon:evaluate-to-node($xpath)" ... > Cheers, Geert Hello,
http://www.daidalos.nl/ tel:+31-(0)79-3316961 fax:+31-(0)79-3316464 GPG: 1024D/12DEBB50
|
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
|

Cart








