Re: [xml] can I do _this_ with AttType?



Aron Stansvik <elvstone gmail com> wrote:
On 6/1/05, Sebastian Kuzminsky <seb highlab com> wrote:
All good and well so far.  But now I want to limit the values that
set's id can take.

This is not a libxml2-specific question, but I think you'll need to
use XML Schemas [1], Relax NG or something else than DTDs to do this.
DTDs lacks the sufficient expressive power for restricting attribute
values to regular expressions.

Thanks for the info & the pointers!


-- 
Sebastian Kuzminsky



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]