diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-10-08 20:03:29 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-10-08 20:03:29 +0000 |
commit | 15c7d39533a1eb1da0748011f3378fd0f02ed14d (patch) | |
tree | a7ed12df60c5ffd4d00a570804c51470bfb8b0f5 /stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/schema/relaxng/admonitions.rng | |
parent | 09a35dd7178070f01a7961d2ded39e11ba2aac83 (diff) |
Update stylesheets to docbook-xsl-1.78.1.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/schema/relaxng/admonitions.rng')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/schema/relaxng/admonitions.rng | 174 |
1 files changed, 174 insertions, 0 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/schema/relaxng/admonitions.rng b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/schema/relaxng/admonitions.rng new file mode 100644 index 000000000..8666065f5 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/schema/relaxng/admonitions.rng @@ -0,0 +1,174 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + This file is part of DocBook V5.0 + + Copyright 1992-2008 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: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $ + + 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/. + + ====================================================================== +--> +<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0"> + <start combine="choice"> + <ref name="db.admonition.blocks"/> + </start> + <define name="db.nopara.blocks" combine="choice"> + <ref name="db.admonition.blocks"/> + </define> + <!-- ====================================================================== --> + <ctrl:exclude from="db.formal.blocks" exclude="db.admonition.blocks"/> + <ctrl:exclude from="db.admonition.blocks" exclude="db.admonition.blocks"/> + <ctrl:exclude from="db.footnote" exclude="db.admonition.blocks"/> + <ctrl:exclude from="db.caption" exclude="db.admonition.blocks"/> + <define name="db.admonition.blocks"> + <choice> + <ref name="db.caution"/> + <ref name="db.important"/> + <ref name="db.note"/> + <ref name="db.tip"/> + <ref name="db.warning"/> + </choice> + </define> + <define name="db.admonition.contentmodel"> + <ref name="db._info.title.only"/> + <oneOrMore> + <ref name="db.all.blocks"/> + </oneOrMore> + </define> + <!-- ====================================================================== --> + <div> + <db:refname>caution</db:refname> + <db:refpurpose>A note of caution</db:refpurpose> + <define name="db.caution.role.attribute"> + <attribute name="role"/> + </define> + <define name="db.caution.attlist"> + <interleave> + <optional> + <ref name="db.caution.role.attribute"/> + </optional> + <ref name="db.common.attributes"/> + <ref name="db.common.linking.attributes"/> + </interleave> + </define> + <define name="db.caution"> + <element name="caution"> + <ref name="db.caution.attlist"/> + <ref name="db.admonition.contentmodel"/> + </element> + </define> + </div> + <!-- ====================================================================== --> + <div> + <db:refname>important</db:refname> + <db:refpurpose>An admonition set off from the text</db:refpurpose> + <define name="db.important.role.attribute"> + <attribute name="role"/> + </define> + <define name="db.important.attlist"> + <interleave> + <optional> + <ref name="db.important.role.attribute"/> + </optional> + <ref name="db.common.attributes"/> + <ref name="db.common.linking.attributes"/> + </interleave> + </define> + <define name="db.important"> + <element name="important"> + <ref name="db.important.attlist"/> + <ref name="db.admonition.contentmodel"/> + </element> + </define> + </div> + <!-- ====================================================================== --> + <div> + <db:refname>note</db:refname> + <db:refpurpose>A message set off from the text</db:refpurpose> + <define name="db.note.role.attribute"> + <attribute name="role"/> + </define> + <define name="db.note.attlist"> + <interleave> + <optional> + <ref name="db.note.role.attribute"/> + </optional> + <ref name="db.common.attributes"/> + <ref name="db.common.linking.attributes"/> + </interleave> + </define> + <define name="db.note"> + <element name="note"> + <ref name="db.note.attlist"/> + <ref name="db.admonition.contentmodel"/> + </element> + </define> + </div> + <!-- ====================================================================== --> + <div> + <db:refname>tip</db:refname> + <db:refpurpose>A suggestion to the user, set off from the text</db:refpurpose> + <define name="db.tip.role.attribute"> + <attribute name="role"/> + </define> + <define name="db.tip.attlist"> + <interleave> + <optional> + <ref name="db.tip.role.attribute"/> + </optional> + <ref name="db.common.attributes"/> + <ref name="db.common.linking.attributes"/> + </interleave> + </define> + <define name="db.tip"> + <element name="tip"> + <ref name="db.tip.attlist"/> + <ref name="db.admonition.contentmodel"/> + </element> + </define> + </div> + <!-- ====================================================================== --> + <div> + <db:refname>warning</db:refname> + <db:refpurpose>An admonition set off from the text</db:refpurpose> + <define name="db.warning.role.attribute"> + <attribute name="role"/> + </define> + <define name="db.warning.attlist"> + <interleave> + <optional> + <ref name="db.warning.role.attribute"/> + </optional> + <ref name="db.common.attributes"/> + <ref name="db.common.linking.attributes"/> + </interleave> + </define> + <define name="db.warning"> + <element name="warning"> + <ref name="db.warning.attlist"/> + <ref name="db.admonition.contentmodel"/> + </element> + </define> + </div> +</grammar> |