Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: passing in an element as a parameter to a stylesheet >Thread Next - Re: passing in an element as a parameter to a stylesheet Re: passing in an element as a parameter to a stylesheetTo: NULL Date: 8/2/2007 6:33:00 PM In article <46b22125@kcnews01>, Joseph Kesselman <keshlam-nospam@c...> wrote: >> generate-id($a) = generate-id($b) would do. >That's definitely the simplest way to test is-same-node in XSLT 1.0. Why is it simpler than "count($a|$b)=1" ? I agree it may be simpler to explain. I believe that using generate-id() is likely to be much more expensive in most processors, but of course this only matters when it's used heavily. -- Richard -- "Consideration shall be given to the need for as many as 32 characters in some alphabets" - X3.4, 1963. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
