Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - Re: AW: [xsl] Xpath as variable - bis AW: [xsl] Xpath as variable - bisTo: Date: 1/3/2005 10:41:00 AM Hello, No, the /Classes/Clas... Found within the @Xpath attribute is simply a string. The idea is to find a way to concatenate a root node and this xpath string, then evaluate it. -> document(Xxx.xml)/Classes/Class/... ( is a node )( is a string ) --> (must be a nodeset) -----Urspr|ngliche Nachricht----- Von: Geert Josten [mailto:Geert.Josten@xxxxxxxxxxx] Gesendet: Montag, 3. Januar 2005 11:31 An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Betreff: Re: [xsl] 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? Cheers, Geert | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
