最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

XSLDocument Property

Internet Development Index

Retrieves a reference to the top-level node of the XSL document.

Syntax

[ oXSL = ] document.XSLDocument

Possible Values

oXSLObject that receives a reference to the root node of the style sheet document.

The property is read-only. The property has no default value.

Remarks

You can use the XSLDocument to access the Document Object Model (DOM) for the XSL style sheet. For more information, refer to the XML DOM Reference.

Example

This example uses the XSLDocument to access the DOM for the XSL to change attributes representing sort keys.

function sort(key) {
// Find the "order-by" attributes in the style sheet.
var s = document.XSLDocument.selectNodes("*/xsl:template[@match='menu']
//xsl:apply-templates/@order-by");
// Replace the values with the new sort key.
for (var i = s.nextNode(); i != null; i = s.nextNode())
{
i.value = key;
}
// Find the subset of the document we need to update.
var d = document.XMLDocument.selectSingleNode("story/menu");
// Apply the style sheet to the subset, and update the display.
menu.innerHTML = d.transformNode(document.XSLDocument);
}

Standards Information

There is no public standard that applies to this property.

Applies To

document

See Also

XMLDocument
栾城县| 珠海市| 府谷县| 马山县| 车致| 日照市| 佛教| 通化县| 开原市| 马龙县| 凤山县| 望奎县| 冕宁县| 和龙市| 温宿县| 涪陵区| 祁阳县| 延吉市| 铁力市| 招远市| 浦城县| 崇阳县| 奎屯市| 和静县| 万全县| 延长县| 会宁县| 灌阳县| 突泉县| 皋兰县| 汤阴县| 铜陵市| 壤塘县| 泰来县| 孟州市| 宜宾市| 南开区| 阳信县| 女性| 乌鲁木齐市| 裕民县|