This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Dynamic XSL Templates


Bryan Kearney wrote:

> Thanks for the info. How "standard" are extension functions? I am using
> Xalan, so is the use if evaluate going to tie me to Xalan?

Actually, it'll tie you to xxx:evaluate-aware processors, that's not too 
good anyway.


> 
> The business case is that we have 3 documents, which have the same
> equivilant structure but different node names. So <parent><child> is
> essentialy equal to <p><c>. We can not pre-process the data to first
> transform <p><c> into <parent><child>. So, we hoped to have an intermediate
> template call the final template with the path to the data.

Huh, such simple "dynamic" XPath expressions don't have to be real 
dynamic, you probably can use *[name() = $name] idiom, as Chris pointed out.

-- 
Oleg Tkachenko
Multiconn International, Israel


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]