reference/xsl/xsltprocessor/importstylesheet.xml
07e6a4aaa2d28b6218a362b05e573fb13267358d
...
...
@@ -1,4 +1,4 @@
1
-
<?xml version="1.0" encoding="iso-8859-1"?>
1
+
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3
<refentry xml:id="xsltprocessor.importstylesheet" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
...
...
@@ -7,15 +7,12 @@
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<classsynopsis>
11
-
<ooclass><classname>XSLTProcessor</classname></ooclass>
12
-
<methodsynopsis>
13
-
<type>void</type><methodname>importStylesheet</methodname>
14
-
<methodparam><type>DOMDocument</type><parameter>stylesheet</parameter></methodparam>
15
-
</methodsynopsis>
16
-
</classsynopsis>
10
+
<methodsynopsis role="XSLTProcessor">
11
+
<modifier>public</modifier> <type>bool</type><methodname>XSLTProcessor::importStylesheet</methodname>
12
+
<methodparam><type>object</type><parameter>stylesheet</parameter></methodparam>
13
+
</methodsynopsis>
17
14
<para>
18
-
This method import the stylesheet into the
15
+
This method imports the stylesheet into the
19
16
<classname>XSLTProcessor</classname> for transformations.
20
17
</para>
21
18
</refsect1>
...
...
@@ -27,7 +24,8 @@
27
24
<term><parameter>stylesheet</parameter></term>
28
25
<listitem>
29
26
<para>
30
-
The imported style sheet as a <classname>DOMDocument</classname> object.
27
+
The imported style sheet as a <classname>DOMDocument</classname> or
28
+
<classname>SimpleXMLElement</classname> object.
31
29
</para>
32
30
</listitem>
33
31
</varlistentry>
...
...
@@ -37,11 +35,10 @@
37
35
<refsect1 role="returnvalues">
38
36
&reftitle.returnvalues;
39
37
<para>
40
-
&return.void;
38
+
&return.success;
41
39
</para>
42
40
</refsect1>
43
41
</refentry>
44
-

45
42
<!-- Keep this comment at the end of the file
46
43
Local variables:
47
44
mode: sgml
48
45