[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-tc] "Kahlúa" comments
Norman Walsh wrote: > | 3. What about defining some restrictions for > | width/height/contentwidth/contentheight attributes using regular > | expressions? Currently they are defined as text. > > What restrictions did you have in mind? Something like: db.length.type = string { pattern = "[0-9]*\.?[0-9]*(pt|cm|mm|in|pc|px|em|%)?" } attribute width { db.length.type } attribute height { db.length.type } ... Which will make documents containing things like width="it-depends" invalid. -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz ------------------------------------------------------------------ Profesionální školení a poradenství v oblasti technologií XML. Podívejte se na náš nově spuštěný web http://DocBook.cz Podrobný přehled školení http://xmlguru.cz/skoleni/ ------------------------------------------------------------------
S/MIME Cryptographic Signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]