iframe.rng

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

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

<define name="iframe">
  <element name="iframe">
    <ref name="iframe.attlist"/>
    <ref name="Flow.model"/>
  </element>
</define>

<define name="iframe.attlist">
  <ref name="Core.attrib"/>
  <optional>
    <attribute name="longdesc">
      <ref name="URI.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="src">
      <ref name="URI.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="frameborder">
      <choice>
        <value>1</value>
        <value>0</value>
      </choice>
    </attribute>
  </optional>
  <optional>
    <attribute name="width">
      <ref name="Length.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="height">
      <ref name="Length.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="marginwidth">
      <ref name="Pixels.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="marginheight">
      <ref name="Pixels.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="scrolling">
      <choice>
        <value>yes</value>
        <value>no</value>
        <value>auto</value>
      </choice>
    </attribute>
  </optional>
</define>

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

</grammar>

⌨️ 快捷键说明

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