James Strachan wrote:
From: "Christian Sell" <[EMAIL PROTECTED]>
Hello,
I would like to restrict the use of tag libraries to a certain context
within my script. For example, I want to ensure that the following
structure is maintained:
<element1 xmlns="com.yadda.Yadda"> <!-- no taglibs allowed here -->
<element2 xmlns:j="jelly:core" xmlns:log="jelly:log">
<j:something/>
.....
</mytags:element2>
</mytags:element1>
can this be done rightaway, without hacking the Jelly core classes?
You could use XML Schema to do this. How's that?
I dont really understand what you mean. I certainly would not want to
run the script through an additional external parser/validator
James
-------
http://radio.weblogs.com/0112098/
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]