Project

Profile

Help

How to connect?
Download (3.18 KB) Statistics
| Branch: | Tag: | Revision:

he / tags / 9.7.0.3 / hej / data / w3c / svg11 / templates / svg-template-qname.mod @ cb770b3c

1
<!-- ....................................................................... -->
2
<!-- SVG Template Qualified Name Module .................................... -->
3
<!-- file: svg-template-qname.mod
4

    
5
     This is SVG, a language for describing two-dimensional graphics in XML.
6
     Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
7
     Revision: $Id: svg-template-qname.mod,v 1.1 2002/04/20 18:08:11 fujisawa Exp $
8

    
9
     This DTD module is identified by the PUBLIC and SYSTEM identifiers:
10

    
11
        PUBLIC "-//W3C//ENTITIES SVG Template Qualified Name//EN"
12
        SYSTEM "svg-template-qname.mod"
13

    
14
     ....................................................................... -->
15

    
16
<!-- Template Qualified Name
17

    
18
     This module is contained in two parts, labeled Section 'A' and 'B':
19

    
20
        Section A declares parameter entities to support namespace-
21
        qualified names, namespace declarations, and name prefixing
22
        for SVG and extensions.
23

    
24
        Section B declares parameter entities used to provide
25
        namespace-qualified names for all SVG element types:
26
-->
27

    
28
<!-- Section A: Template XML Namespace Framework ::::::::::::::::: -->
29

    
30
<!-- 1. Declare a %MODULE.prefixed; conditional section keyword, used
31
        to activate namespace prefixing. The default value should
32
        inherit '%NS.prefixed;' from the DTD driver, so that unless
33
        overridden, the default behaviour follows the overall DTD
34
        prefixing scheme.
35
-->
36
<!ENTITY % NS.prefixed "IGNORE" >
37
<!ENTITY % MODULE.prefixed "%NS.prefixed;" >
38

    
39
<!-- 2. Declare a parameter entity (eg., %MODULE.xmlns;) containing
40
        the URI reference used to identify the Template namespace:
41
-->
42
<!ENTITY % MODULE.xmlns "http://template-namespace-uri" >
43

    
44
<!-- 3. Declare parameter entities (eg., %MODULE.prefix;) containing
45
        the default namespace prefix string(s) to use when prefixing
46
        is enabled. This may be overridden in the DTD driver or the
47
        internal subset of an document instance. If no default prefix
48
        is desired, this may be declared as an empty string.
49
-->
50
<!ENTITY % MODULE.prefix "" >
51

    
52
<!-- 4. Declare parameter entities (eg., %MODULE.pfx;) containing the
53
        colonized prefix(es) (eg., '%MODULE.prefix;:') used when
54
        prefixing is active, an empty string when it is not.
55
-->
56
<![%MODULE.prefixed;[
57
<!ENTITY % MODULE.pfx "%MODULE.prefix;:" >
58
]]>
59
<!ENTITY % MODULE.pfx "" >
60

    
61
<!-- 5. The parameter entity %MODULE.xmlns.extra.attrib; may be
62
        redeclared to contain any non-Template namespace declaration
63
        attributes for namespaces embedded in SVG. The default
64
        is an empty string.
65
-->
66
<![%MODULE.prefixed;[
67
<!ENTITY % MODULE.xmlns.extra.attrib
68
    "xmlns:%MODULE.prefix; %URI.datatype; #FIXED '%MODULE.xmlns;'" >
69
]]>
70
<!ENTITY % MODULE.xmlns.extra.attrib "" >
71

    
72
<!ENTITY % SVG.xmlns.extra.attrib
73
    "%MODULE.xmlns.extra.attrib;"
74
>
75

    
76
<!-- Section B: SVG Qualified Names :::::::::::::::::::::::::::::: -->
77

    
78
<!-- 6. This section declares parameter entities used to provide
79
        namespace-qualified names for all Template element types.
80
-->
81

    
82
<!-- module: svg-template.mod .......................... -->
83

    
84
<!ENTITY % MODULE.element.qname "%MODULE.pfx;element" >
85

    
86
<!-- end of svg-template-qname.mod -->
(1-1/3)