Loading ...
Sorry, an error occurred while loading the content.

Re: [rng-users] Element with at least one child but no more that one time each

Expand Messages
  • Jirka Kosek
    ... Not in RELAX NG itself. But you can make all elements optional and use Schematron to require at least one element here. Jirka -- ... Jirka Kosek
    Message 1 of 4 , Feb 21, 2013
    • 0 Attachment
      On 15.1.2013 22:07, Daniel Dehennin wrote:
      > Is it possible to make it more elegant?

      Not in RELAX NG itself. But you can make all elements optional and use
      Schematron to require at least one element here.

      Jirka

      --
      ------------------------------------------------------------------
      Jirka Kosek e-mail: jirka@... 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 rep.
      ------------------------------------------------------------------
      Bringing you XML Prague conference http://xmlprague.cz
      ------------------------------------------------------------------
    Your message has been successfully submitted and would be delivered to recipients shortly.