commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Sell <christian.s...@netcologne.de>
Subject Re: [Jelly] restrict use of tag libraries
Date Mon, 03 Feb 2003 19:09:56 GMT
James Strachan wrote:
> From: "Christian Sell" <christian.sell@netcologne.de>
> 
>>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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 



Mime
View raw message