<?xml version="1.0" encoding="utf-8"?> <!-- StyleSheetList interface --> <interface name="StyleSheetList" id="StyleSheets-StyleSheetList" since="DOM Level 2"> <descr> <p>The <code>StyleSheetList</code> interface provides the abstraction of an ordered collection of style sheets. </p> <p> The items in the <code>StyleSheetList</code> are accessible via an integral index, starting from 0. </p> </descr> <attribute type="unsigned long" readonly="yes" name="length" id="StyleSheets-StyleSheetList-length"> <descr> <p> The number of <code>StyleSheets</code> in the list. The range of valid child stylesheet indices is <code>0</code> to <code>length-1</code> inclusive. </p> </descr> </attribute> <method name="item" id="StyleSheets-StyleSheetList-item"> <descr> <p> Used to retrieve a style sheet by ordinal index. If index is greater than or equal to the number of style sheets in the list, this returns <code>null</code>. </p> </descr> <parameters> <param name="index" type="unsigned long" attr="in"> <descr><p>Index into the collection</p></descr> </param> </parameters> <returns type="StyleSheet"> <descr><p>The style sheet at the <code>index</code> position in the <code>StyleSheetList</code>, or <code>null</code> if that is not a valid index. </p></descr> </returns> <raises> <!-- No exceptions --> </raises> </method> </interface>