ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Xpath as variable - bis

Subject: Xpath as variable - bis
From: <michella@xxxxxxx>
Date: Mon, 3 Jan 2005 10:39:18 +0100
xsl xpath variable
Happy new year !

How can I solve the following problem (I tried several possibilities,
but none are successful) :

<xsl:template match="/(...)/xsl-File">
	<xsl:variable name="path" select="@XPath"/>
	<xsl:variable name="mainXML_node"
select="document('../XML/PM-EA-AA_IA_PA_TA.xml')"/>
	(...)
	<xsl:for-each-group select="concat($mainXML_node,$path)" <--
pseudo-code for understandig (...) group-by="@SAObjName">
	(...)

The xml processed contains an @Xpath attribute which contains the xpath
expression for processing another XML ($mainXML_node).

(the xml file)
(...)
<xsl_File name="App_Apt_Apx_Applications"
	file="App_Apt_Apx_Applications.xsl"

XPath="/Classes/Class/SADefinition[starts-with(@SAObjName,'app_') or
starts-with(@SAObjName,'apx_') or starts-with(@SAObjName,'apt_')]"/>
(...)

I tried several possibilities with the saxon:evaluate-node() function,
but unsuccessfully!

Thanks for your help

Cheers

Lawrence

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.