Commit 80df3ff3 authored by Fred Drake's avatar Fred Drake

Added "file" attribute to the "import" element; this allows a package to

provide more than one ZConfig schema component.
parent 8f6158fe
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
<!ELEMENT import EMPTY> <!ELEMENT import EMPTY>
<!ATTLIST import <!ATTLIST import
file CDATA #IMPLIED
package NMTOKEN #IMPLIED package NMTOKEN #IMPLIED
src CDATA #IMPLIED> src CDATA #IMPLIED>
......
No preview for this file type
...@@ -402,11 +402,18 @@ The following elements are used to describe a schema: ...@@ -402,11 +402,18 @@ The following elements are used to describe a schema:
Import a schema component. Import a schema component.
Exactly one of the two possible attributes must be specified. Exactly one of the two possible attributes must be specified.
\begin{attributedesc}{file}{file name without directory information}
Name of the component file within a package; if not specified,
\file{component.xml} is used. This may only be given when
\attribute{package} is used.
\end{attributedesc}
\begin{attributedesc}{package}{\datatype{dotted-name}} \begin{attributedesc}{package}{\datatype{dotted-name}}
Python-package style name that identifies a directory found on Python-package style name that identifies a directory found on
\code{sys.path} containing a schema component in a file named \code{sys.path} containing a schema component in a file named
\file{component.xml}. Dots in the value are converted to \file{component.xml} (unless the file name is overridden using
directory separators. \attribute{file}). Dots in the value are converted to directory
separators.
\end{attributedesc} \end{attributedesc}
\begin{attributedesc}{src}{\datatype{url-reference}} \begin{attributedesc}{src}{\datatype{url-reference}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment