Keith Fahlgren wrote:

      <report test='[EMAIL PROTECTED]"web"]/[EMAIL PROTECTED](.="PNG")
and not(.="JPG") and
not(.="GIF")]]'>[EMAIL PROTECTED]"web"]/imagedata must be
@format="PNG|GIF|JPG"</report>

Just quick note, in XPath 2.0 there are sequences as a new datatype and you can write:

not(. = ('PNG', 'JPG', 'GIF'))

But sorry for OT on DocBook list ;-)

                        Jirka

--
------------------------------------------------------------------
  Jirka Kosek      e-mail: [EMAIL PROTECTED]      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to