Re: Xpath as variable - bis
XPath="/Classes/Class/SADefinition[starts-with(@SAObjName,'app_') or starts-with(@SAObjName,'apx_') or starts-with(@SAObjName,'apt_')]"/> (...)
I suspect that the path '/Classes/..' is not evaluated with the external document as context, but the one passed from source of command-line. But I'm not a Saxon expert.
Have you tried relative paths?
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