1 | <?xml version="1.0" encoding="UTF-8" ?>
|
---|
2 | <!--
|
---|
3 | /****************************************************************************
|
---|
4 | **
|
---|
5 | ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
---|
6 | ** Contact: Qt Software Information ([email protected])
|
---|
7 | **
|
---|
8 | ** This file is part of the Patternist project on Trolltech Labs.
|
---|
9 | **
|
---|
10 | ** $QT_BEGIN_LICENSE:LGPL$
|
---|
11 | ** Commercial Usage
|
---|
12 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
---|
13 | ** accordance with the Qt Commercial License Agreement provided with the
|
---|
14 | ** Software or, alternatively, in accordance with the terms contained in
|
---|
15 | ** a written agreement between you and Nokia.
|
---|
16 | **
|
---|
17 | ** GNU Lesser General Public License Usage
|
---|
18 | ** Alternatively, this file may be used under the terms of the GNU Lesser
|
---|
19 | ** General Public License version 2.1 as published by the Free Software
|
---|
20 | ** Foundation and appearing in the file LICENSE.LGPL included in the
|
---|
21 | ** packaging of this file. Please review the following information to
|
---|
22 | ** ensure the GNU Lesser General Public License version 2.1 requirements
|
---|
23 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
---|
24 | **
|
---|
25 | ** In addition, as a special exception, Nokia gives you certain
|
---|
26 | ** additional rights. These rights are described in the Nokia Qt LGPL
|
---|
27 | ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
|
---|
28 | ** package.
|
---|
29 | **
|
---|
30 | ** GNU General Public License Usage
|
---|
31 | ** Alternatively, this file may be used under the terms of the GNU
|
---|
32 | ** General Public License version 3.0 as published by the Free Software
|
---|
33 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
---|
34 | ** packaging of this file. Please review the following information to
|
---|
35 | ** ensure the GNU General Public License version 3.0 requirements will be
|
---|
36 | ** met: http://www.gnu.org/copyleft/gpl.html.
|
---|
37 | **
|
---|
38 | ** If you are unsure which license is appropriate for your use, please
|
---|
39 | ** contact the sales department at [email protected].
|
---|
40 | ** $QT_END_LICENSE$
|
---|
41 | **
|
---|
42 | ***************************************************************************
|
---|
43 | */
|
---|
44 | -->
|
---|
45 |
|
---|
46 | <xsl:stylesheet
|
---|
47 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
48 | xmlns:h="http://www.w3.org/1999/xhtml"
|
---|
49 | version="1.0">
|
---|
50 |
|
---|
51 | <xsl:output omit-xml-declaration="yes"/>
|
---|
52 |
|
---|
53 | <!--
|
---|
54 | This code open the following specifications:
|
---|
55 |
|
---|
56 | - XQuery 1.0 and XPath 2.0 Functions and Operators
|
---|
57 | - XML Path Language (XPath) 2.0
|
---|
58 | - XSL Transformations (XSLT) Version 2.0
|
---|
59 | - XQuery 1.0: An XML Query Language
|
---|
60 |
|
---|
61 | and extracts the error codes as well as their documentation and exports
|
---|
62 | them as enum values into a C++ enumerator called ErrorCode.
|
---|
63 |
|
---|
64 | NOTE: Be aware of binary compatibility when using this stylesheet.
|
---|
65 | -->
|
---|
66 |
|
---|
67 | <!--
|
---|
68 | <xsl:variable name="xslt20" select="document('xslt20.html')"/>
|
---|
69 | -->
|
---|
70 | <xsl:variable name="xslt20" select="document('http://www.w3.org/TR/xslt20')"/>
|
---|
71 |
|
---|
72 | <!--
|
---|
73 | <xsl:variable name="xqfo" select="document('xqfo.html')"/>
|
---|
74 | -->
|
---|
75 | <xsl:variable name="xqfo" select="document('http://www.w3.org/TR/xpath-functions/')"/>
|
---|
76 |
|
---|
77 | <!--
|
---|
78 | <xsl:variable name="xq" select="document('xq.html')"/>
|
---|
79 | -->
|
---|
80 | <xsl:variable name="xq" select="document('http://www.w3.org/TR/xquery/')"/>
|
---|
81 |
|
---|
82 | <!--
|
---|
83 | <xsl:variable name="ser" select="document('ser.html')"/>
|
---|
84 | -->
|
---|
85 | <xsl:variable name="ser" select="document('http://www.w3.org/TR/xslt-xquery-serialization/')"/>
|
---|
86 |
|
---|
87 | <!--
|
---|
88 | *********************************************
|
---|
89 | *********************************************
|
---|
90 | -->
|
---|
91 | <xsl:template match="/"><xsl:text disable-output-escaping="yes"
|
---|
92 | ><![CDATA[/****************************************************************************
|
---|
93 | **
|
---|
94 | ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
---|
95 | ** Contact: Qt Software Information ([email protected])
|
---|
96 | **
|
---|
97 | ** This file is part of the QtXmlPatterns module of the Qt Toolkit.
|
---|
98 | **
|
---|
99 | ** $QT_BEGIN_LICENSE:LGPL$
|
---|
100 | ** Commercial Usage
|
---|
101 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
---|
102 | ** accordance with the Qt Commercial License Agreement provided with the
|
---|
103 | ** Software or, alternatively, in accordance with the terms contained in
|
---|
104 | ** a written agreement between you and Nokia.
|
---|
105 | **
|
---|
106 | ** GNU Lesser General Public License Usage
|
---|
107 | ** Alternatively, this file may be used under the terms of the GNU Lesser
|
---|
108 | ** General Public License version 2.1 as published by the Free Software
|
---|
109 | ** Foundation and appearing in the file LICENSE.LGPL included in the
|
---|
110 | ** packaging of this file. Please review the following information to
|
---|
111 | ** ensure the GNU Lesser General Public License version 2.1 requirements
|
---|
112 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
---|
113 | **
|
---|
114 | ** In addition, as a special exception, Nokia gives you certain
|
---|
115 | ** additional rights. These rights are described in the Nokia Qt LGPL
|
---|
116 | ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
|
---|
117 | ** package.
|
---|
118 | **
|
---|
119 | ** GNU General Public License Usage
|
---|
120 | ** Alternatively, this file may be used under the terms of the GNU
|
---|
121 | ** General Public License version 3.0 as published by the Free Software
|
---|
122 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
---|
123 | ** packaging of this file. Please review the following information to
|
---|
124 | ** ensure the GNU General Public License version 3.0 requirements will be
|
---|
125 | ** met: http://www.gnu.org/copyleft/gpl.html.
|
---|
126 | **
|
---|
127 | ** If you are unsure which license is appropriate for your use, please
|
---|
128 | ** contact the sales department at [email protected].
|
---|
129 | ** $QT_END_LICENSE$
|
---|
130 | **
|
---|
131 | ****************************************************************************/
|
---|
132 |
|
---|
133 | //
|
---|
134 | // W A R N I N G
|
---|
135 | // -------------
|
---|
136 | //
|
---|
137 | // This file is not part of the Qt API. It exists purely as an
|
---|
138 | // implementation detail. This header file may change from version to
|
---|
139 | // version without notice, or even be removed.
|
---|
140 | //
|
---|
141 | // We mean it.
|
---|
142 |
|
---|
143 | #ifndef Patternist_ReportContext_H
|
---|
|
---|