[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: "re-calling" a template from <a> anchor
Vaduvoiu Tiberiu wrote:
Hi all. Can anyone tell me if it's possible to "re-call" a template from an anchor? something like: Not sure what you are trying here. MK already pointed out that you may not understand the processing model. You recursively call a template to create an attribute, which is fine, but unlikely to create what you want (an attribute can't contain an element, which is what your code seems to imply...), since your snippet is not well-formed XML, or even XSLT, so I can't tell for sure without seeing more. Error 500 means: internal error. If you use Cocoon, you should be able to find the XSLT error in the logs. My guess is, since you are recursively calling a template inside xsl:attribute, that the error is something like "can't create element inside an attribute" or similar. Or is just says "syntax error"... Or... since this recursive loop won't end, it just runs out of stack space. Cheers, -- Abel
|
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
|