[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] generic apply-template call
Hello List,
I am working on a system which will allow XSL developers on the project to use unique key attributes to send node sets to templates. The expression <xsl:apply-templates select="descendant::*@key='unique.key']"/> Is the current way things are working. My boss was wondering if I could make it a little more generic. I thought about it for some time and I can't seem to come up with an XSL solution. To clarify, by generic I think he meant the equivalent of: <xsl:apply-templates select="getNodes(unique.key)"/> Basically the expression with the descendant axis looks a little too complicated, even though it is a pretty generic expression already. The non-XSL options I could think of: 1. Writing a java extension. This would allow for a very generic syntax, but would tie our implementation to a specific processor 2. Writing a front-end development tool. This might be fun. Anyway, if anyone can think of another solution I would love to hear it. Also, if you think the question itself is flawed, or that seeking a more 'generic' solution is pointless in this case, I'd love to read your response as well.
_________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|