The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

##
## 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 $
##
##
## Document Events Attribute
##
## onunload, onabort, onerror, onresize, onscroll, onzoom
##
## This module defines the DocumentEvents attribute set.
##
[ xml:lang = "en" ]
grammar {
SVG.onunload.attrib = attribute onunload { Script.datatype }?
SVG.onabort.attrib = attribute onabort { Script.datatype }?
SVG.onerror.attrib = attribute onerror { Script.datatype }?
SVG.onresize.attrib = attribute onresize { Script.datatype }?
SVG.onscroll.attrib = attribute onscroll { Script.datatype }?
SVG.onzoom.attrib = attribute onzoom { Script.datatype }?
SVG.DocumentEvents.extra.attrib = empty
SVG.DocumentEvents.attrib &=
SVG.onunload.attrib,
SVG.onabort.attrib,
SVG.onerror.attrib,
SVG.onresize.attrib,
SVG.onscroll.attrib,
SVG.onzoom.attrib,
SVG.DocumentEvents.extra.attrib
}