[dsdl-discuss] Re: New XML Drafts of Part 3 and Part 7

From: MURATA Makoto <murata@hokkaido.email.ne.jp>
Date: Fri Apr 16 2004 - 13:37:58 UTC

On Fri, 16 Apr 2004 12:08:14 +0100
"Martin Bryan" <martin@is-thought.co.uk> wrote:

> you will need to change the definition of secretariat in is.rnc to text as
> currently it only permits the string ANSI :-(

I did. In fact, I did a few more changes. Here is my nvdl-fcd.rnc.
It allows "FINAL COMMITTEE DRAFT", normative references without URIs,
and <pre> in <example>. I also slightly changed the XSLT stylesheet.

Cheers,

Makoto
----------------------------

include "is.rnc"

referenced-document |=
  element referenced-document {
    id,
    element abbrev { text },
    element title { text },
    element field { text }*,
    element url { xsd:anyURI }?
  }

head |=
  element head {
    element organization { "ISO" | "ISO/IEC" }
    & element document-type {
        "International Standard"
        | "Technical Report"
        | "Guide"
        | "Publicly Available Specification"
        | "Technical Specification"
        | "International Standardized Profile"
      }
    & element stage {
        "finalCommittee" | "committee" | "enquiry" | "approval" | "publication"
      }
    & element tc-number { positive-integer }
    & element tc-name { text }
    & (element sc-number { positive-integer }
       & element sc-name { text })?
    & element wg-number { positive-integer }?
    & element serial-number { positive-integer }?
    & element draft-number { positive-integer }?
    & element document-number { positive-integer }
    & element part-number { positive-integer }?
    & element document-language { "E" | "F" }
    & element secretariat { "Standards Council of Canada" }
    & element date { xsd:date }
    & element title {
        element introductory { text }?,
        element main { text },
        element complementary { text }?
      }
  }
block |=
  element grammarref | rngref {
    attribute src { xsd:anyURI }
  }

example |= element example { (p|pre)+ }

-- 
MURATA Makoto <murata@hokkaido.email.ne.jp>
--
DSDL members discussion list
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Fri Apr 16 15:42:34 2004

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:28 UTC