mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 04:27:41 +00:00
Backed out changeset 2603e80db18f (bug 1257919)
This commit is contained in:
parent
4e4e0bcb49
commit
c6be0ad331
@ -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',
|
||||
|
21
dom/xslt/nsIXSLTException.idl
Normal file
21
dom/xslt/nsIXSLTException.idl
Normal file
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user