Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: Re: [xsl] Finding out the existence of a node [Thread Next] RE: Re: [xsl] Finding out the existence of a nodeTo: Date: 7/1/2002 6:27:00 AM > Thanks, that works great. And I've a problem when I say > > <xsl:apply-templates select="document($source)//$node_name"/> > > Can I do this? > No. If the value of $node-name is "item", then your expression is equivalent to document($source)//"item" which fails because a path expression can only include node-sets, not strings. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
