Backed out changeset 2603e80db18f (bug 1257919)

This commit is contained in:
Sebastian Hengst 2016-03-22 21:11:17 +01:00
Родитель 4e4e0bcb49
Коммит c6be0ad331
3 изменённых файлов: 28 добавлений и 0 удалений

Просмотреть файл

@ -5,6 +5,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
XPIDL_SOURCES += [
'nsIXSLTException.idl',
'nsIXSLTProcessor.idl',
'nsIXSLTProcessorPrivate.idl',
'txIEXSLTRegExFunctions.idl',

Просмотреть файл

@ -0,0 +1,21 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsIException.idl"
interface nsIDOMNode;
[scriptable, uuid(e06dfaea-92d5-47f7-a800-c5f5404d8771)]
interface nsIXSLTException : nsIException {
/**
* The node in the stylesheet that triggered the exception.
*/
readonly attribute nsIDOMNode styleNode;
/**
* The context node, may be null
*/
readonly attribute nsIDOMNode sourceNode;
};

Просмотреть файл

@ -20,6 +20,8 @@ interface nsIXSLTProcessor : nsISupports
* If the argument is an element node it must be the
* xsl:stylesheet (or xsl:transform) element of an XSLT
* stylesheet.
*
* @exception nsIXSLTException
*/
void importStylesheet(in nsIDOMNode style);
@ -31,6 +33,8 @@ interface nsIXSLTProcessor : nsISupports
* @param source The node to be transformed
* @param output This document is used to generate the output
* @return DocumentFragment The result of the transformation
*
* @exception nsIXSLTException
*/
nsIDOMDocumentFragment transformToFragment(in nsIDOMNode source,
in nsIDOMDocument output);
@ -41,6 +45,8 @@ interface nsIXSLTProcessor : nsISupports
*
* @param source The node to be transformed
* @return Document The result of the transformation
*
* @exception nsIXSLTException
*/
nsIDOMDocument transformToDocument(in nsIDOMNode source);