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



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.

Best regards,
Aron Stansvik

[1] www.w3.org/XML/Schema
[2] http://www.oasis-open.org/committees/relax-ng/spec-20011203.html



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