OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-publishers message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: sample poetry, legal models for discussion


Folks,

Please find attached a revised publishers.rnc containing sample models 
for poetry and dialogue, and a legal.rnc containing sample models for 
legalcitation.

I'd like to use these as the basis for the discussion this week. I'll 
send an agenda shortly and post these to the OASIS site.

Thanks and best regards,
-- Scott

*  Scott Hudson*
 / Senior XML Architect/

  scott.hudson@FlatironsSolutions.com 
<mailto:scott.hudson@FlatironsSolutions.com>

 

  O:  303.542.2146

  C:  303.332.1883

  F:  303.544.0522

 

  www.FlatironsSolutions.com <http://www.flatironssolutions.com/>

/  An Inc. 500 Company/

/ /

# This file is a customization of DocBook V5.0 created by the 
# OASIS DocBook Publishers Subcommittee.
#
# Copyright 1992-2007 HaL Computer Systems, Inc.,
# O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
# Corporation, Norman Walsh, Sun Microsystems, Inc., and the
# Organization for the Advancement of Structured Information
# Standards (OASIS).
#
# Release: $Id: publishers.rnc 7466 2007-09-27 14:03:55Z shudson310 $
#
# Permission to use, copy, modify and distribute the DocBook schema
# and its accompanying documentation for any purpose and without fee
# is hereby granted in perpetuity, provided that the above copyright
# notice and this paragraph appear in all copies. The copyright
# holders make no representation about the suitability of the schema
# for any purpose. It is provided "as is" without expressed or implied
# warranty.
#
# If you modify the DocBook schema in any way, label your schema as a
# variant of DocBook. See the reference documentation
# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
# for more information.
#
# Please direct all questions, bug reports, or suggestions for changes
# to the docbook@lists.oasis-open.org mailing list. For more
# information, see http://www.oasis-open.org/docbook/.
#
# ======================================================================

namespace ctrl = "http://nwalsh.com/xmlns/schema-control/";
namespace rng  = "http://relaxng.org/ns/structure/1.0";
namespace s = "http://www.ascc.net/xml/schematron";
namespace db = "http://docbook.org/ns/docbook";
default namespace = "http://docbook.org/ns/docbook";

start = db.set
        | db.book
	| db.divisions
	| db.components
	| db.navigation.components
	| db.section
	| db.para

include "publishers.rnc" 

   db.legalcitation =
      element legalcitation {
         (db.casename|db.legislation|db.parties),
         db.country, 
         db.year,
         (db.court|db.legis_org),
         db.sectionnum
      }
      
   db.casename =
        element casename {
        db.all.inlines
        }
        
   db.legislation =
        element legislation {
        db.all.inlines
        }
        
    db.parties =
        element parties {
        db.person |
        db.org |
        db.all.inlines
        }
        
     db.court =
        element court {
        db.all.inlines
        }
        
    db.legis_org =
        element casename {
        db.all.inlines
        }

   db.sectionnum =
        element sectionnum {
        text |
        db.sectionnum
        }
# This file is a customization of DocBook V5.0 created by the 
# OASIS DocBook Publishers Subcommittee.
#
# Copyright 1992-2007 HaL Computer Systems, Inc.,
# O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
# Corporation, Norman Walsh, Sun Microsystems, Inc., and the
# Organization for the Advancement of Structured Information
# Standards (OASIS).
#
# Release: $Id: publishers.rnc 7466 2007-09-27 14:03:55Z shudson310 $
#
# Permission to use, copy, modify and distribute the DocBook schema
# and its accompanying documentation for any purpose and without fee
# is hereby granted in perpetuity, provided that the above copyright
# notice and this paragraph appear in all copies. The copyright
# holders make no representation about the suitability of the schema
# for any purpose. It is provided "as is" without expressed or implied
# warranty.
#
# If you modify the DocBook schema in any way, label your schema as a
# variant of DocBook. See the reference documentation
# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
# for more information.
#
# Please direct all questions, bug reports, or suggestions for changes
# to the docbook@lists.oasis-open.org mailing list. For more
# information, see http://www.oasis-open.org/docbook/.
#
# ======================================================================

namespace ctrl = "http://nwalsh.com/xmlns/schema-control/";
namespace rng  = "http://relaxng.org/ns/structure/1.0";
namespace s = "http://www.ascc.net/xml/schematron";
namespace db = "http://docbook.org/ns/docbook";
default namespace = "http://docbook.org/ns/docbook";

start = db.set
        | db.book
	| db.divisions
	| db.components
	| db.navigation.components
	| db.section
	| db.para

include "core.rnc" {
  db.sidebar |= notAllowed
  db.person |= notAllowed
  db.org |= notAllowed
  db.parameter = notAllowed
}

   db.sidebar =
      element sidebar {
         db.sidebar.attlist,
         db.sidebar.info,
         db.all.blocks+, db.recursive.sections*
      }

db.person =
      element person {
         db.person.attlist,
         db.personname,
         (db.address|db.affiliation|db.email|db.uri|db.personblurb|db.mediaobject)*
      }
      
db.org =
      element org {
         db.org.attlist,
         db.orgname,
         (db.address|db.affiliation|db.email|db.uri|db.orgdiv|db.mediaobject)*
      }
      
db.poem =
      element poem {
        db.title,
        db.poem.info,
        (db.mediaobject|db.linegroup|db.line)*
      }
      
 db.dialogue =
      element dialogue {
      db.title?,
      db.dialogue.info,
      (db.mediaobject | db.linegroup | (db.speaker,db.line))*
      }
      
  db.dialogue.info =
     db._info.title.req
 
 db.poem.info =
     db._info.title.req
     
 db.linegroup =
   db.speaker?,(db.line)*
   
 db.speaker = 
       element speaker {
       text |
       db.person
       }
       
 db.line =
       element line {
       text |
       db.all.inlines
       }


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]