OASIS DocBook TC2

Re: [docbook-tc] =?ISO-8859-2?Q?=22Kahl=FAa=22_comments?=

  • 1.  Re: [docbook-tc] =?ISO-8859-2?Q?=22Kahl=FAa=22_comments?=

    Posted 04-20-2005 20:58
     MHonArc v2.5.0b2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    docbook-tc message

    [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]