applet.rng

来自「XML Copy Editor is free software release」· RNG 代码 · 共 47 行

RNG
47
字号
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Applet Module -->
<grammar xmlns="http://relaxng.org/ns/structure/1.0">

<define name="applet">
  <element name="applet">
    <ref name="applet.attlist"/>
    <!-- No restrictions on mixed content in TREX. -->
    <zeroOrMore>
      <ref name="param"/>
    </zeroOrMore>
    <ref name="Flow.model"/>
  </element>
</define>

<define name="applet.attlist">
  <ref name="Core.attrib"/>
  <attribute name="alt">
    <ref name="Text.datatype"/>
  </attribute>
  <optional>
    <attribute name="archive"/>
  </optional>
  <optional>
    <attribute name="code"/>
  </optional>
  <optional>
    <attribute name="codebase">
      <ref name="URI.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="object"/>
  </optional>
  <attribute name="height">
    <ref name="Length.datatype"/>
  </attribute>
  <attribute name="width">
    <ref name="Length.datatype"/>
  </attribute>
</define>

<define name="Inline.class" combine="choice">
  <ref name="applet"/>
</define>

</grammar>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?