From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

<?xml version="1.0" encoding="UTF-8"?>
<a:documentation>
SVG 1.1 Document Events Attribute Module
file: svg-docevents-attrib.rng
This is SVG, a language for describing two-dimensional graphics in XML.
Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
$Id: svg-docevents-attrib.rng,v 1.1 2003/07/15 07:11:10 dean Exp $
</a:documentation>
<a:documentation>
Document Events Attribute
onunload, onabort, onerror, onresize, onscroll, onzoom
This module defines the DocumentEvents attribute set.
</a:documentation>
<define name="SVG.onunload.attrib">
<optional>
<attribute name="onunload">
<ref name="Script.datatype"/>
</attribute>
</optional>
</define>
<define name="SVG.onabort.attrib">
<optional>
<attribute name="onabort">
<ref name="Script.datatype"/>
</attribute>
</optional>
</define>
<define name="SVG.onerror.attrib">
<optional>
<attribute name="onerror">
<ref name="Script.datatype"/>
</attribute>
</optional>
</define>
<define name="SVG.onresize.attrib">
<optional>
<attribute name="onresize">
<ref name="Script.datatype"/>
</attribute>
</optional>
</define>
<define name="SVG.onscroll.attrib">
<optional>
<attribute name="onscroll">
<ref name="Script.datatype"/>
</attribute>
</optional>
</define>
<define name="SVG.onzoom.attrib">
<optional>
<attribute name="onzoom">
<ref name="Script.datatype"/>
</attribute>
</optional>
</define>
<define name="SVG.DocumentEvents.extra.attrib">
<empty/>
</define>
<define name="SVG.DocumentEvents.attrib" combine="interleave">
<ref name="SVG.onunload.attrib"/>
<ref name="SVG.onabort.attrib"/>
<ref name="SVG.onerror.attrib"/>
<ref name="SVG.onresize.attrib"/>
<ref name="SVG.onscroll.attrib"/>
<ref name="SVG.onzoom.attrib"/>
<ref name="SVG.DocumentEvents.extra.attrib"/>
</define>
</grammar>