[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Strict sequential identity rule?

Subject: Re: Strict sequential identity rule?
From: Evan Lenz <evan@xxxxxxxxxxxx>
Date: Thu, 22 Sep 2005 08:39:13 -0700
Re:  Strict sequential identity rule?
andrew welch wrote:

Can your reporting system tell when one template has been chosen oven
another purely on import precendence, even though it has a higher
priority?


No, it is strictly limited to reporting what you could easily report as a stylesheet writer about the context and what is being invoked. I suppose it could do some kind of search among all the template rules to compare patterns and the like... But then we'd be getting a lot closer to implementing XSLT in XSLT, which is a bit more of an ambitious project ;-) For now, I am letting someone else's XSLT processor do all the work. I'm going to see how far this approach can take me in visualizing XSLT's processing model. Obviously, for things like visualizing XPath evaluation, I would need other tools (assuming I don't want to implement XPath in XSLT either; don't tempt me).

However it's not, but it would be really helpful to offer a warning
such as "A template with a higher priority conflicts with a template
with a higher import precendence" for when that happens, and then
usual ambiguous rule match for when the templates are equal priority.


A better approach for this kind of thing would be to use the API of an existing open-source XSLT processor, which I think is what debuggers usually do.

Thanks for the inquiry. Good food for thought.

Evan

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.