~ubuntu-branches/debian/wheezy/jing-trang/wheezy

« back to all changes in this revision

Viewing changes to xhtml/modules/iframe.rng

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Thibault
  • Date: 2009-09-01 15:53:03 UTC
  • Revision ID: james.westby@ubuntu.com-20090901155303-2kweef05h5v9j3ni
Tags: upstream-20090818
ImportĀ upstreamĀ versionĀ 20090818

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!-- Iframe Module -->
 
3
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
 
4
 
 
5
<define name="iframe">
 
6
  <element name="iframe">
 
7
    <ref name="iframe.attlist"/>
 
8
    <ref name="Flow.model"/>
 
9
  </element>
 
10
</define>
 
11
 
 
12
<define name="iframe.attlist">
 
13
  <ref name="Core.attrib"/>
 
14
  <optional>
 
15
    <attribute name="longdesc">
 
16
      <ref name="URI.datatype"/>
 
17
    </attribute>
 
18
  </optional>
 
19
  <optional>
 
20
    <attribute name="src">
 
21
      <ref name="URI.datatype"/>
 
22
    </attribute>
 
23
  </optional>
 
24
  <optional>
 
25
    <attribute name="frameborder">
 
26
      <choice>
 
27
        <value>1</value>
 
28
        <value>0</value>
 
29
      </choice>
 
30
    </attribute>
 
31
  </optional>
 
32
  <optional>
 
33
    <attribute name="width">
 
34
      <ref name="Length.datatype"/>
 
35
    </attribute>
 
36
  </optional>
 
37
  <optional>
 
38
    <attribute name="height">
 
39
      <ref name="Length.datatype"/>
 
40
    </attribute>
 
41
  </optional>
 
42
  <optional>
 
43
    <attribute name="marginwidth">
 
44
      <ref name="Pixels.datatype"/>
 
45
    </attribute>
 
46
  </optional>
 
47
  <optional>
 
48
    <attribute name="marginheight">
 
49
      <ref name="Pixels.datatype"/>
 
50
    </attribute>
 
51
  </optional>
 
52
  <optional>
 
53
    <attribute name="scrolling">
 
54
      <choice>
 
55
        <value>yes</value>
 
56
        <value>no</value>
 
57
        <value>auto</value>
 
58
      </choice>
 
59
    </attribute>
 
60
  </optional>
 
61
</define>
 
62
 
 
63
<define name="Inline.class" combine="choice">
 
64
  <ref name="iframe"/>
 
65
</define>
 
66
 
 
67
</grammar>
 
 
b'\\ No newline at end of file'