~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/xml/help/ja_JP/xmlDocument.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!--
 
3
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 
4
* Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
 
5
*
 
6
* This file must be used under the terms of the CeCILL.
 
7
* This source file is licensed as described in the file COPYING, which
 
8
* you should have received as part of this distribution.  The terms
 
9
* are also available at
 
10
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 
11
*
 
12
-->
 
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="xmlDocument" xml:lang="ja">
 
14
    <refnamediv>
 
15
        <refname>xmlDocument</refname>
 
16
        <refpurpose>XML文書を新規に作成</refpurpose>
 
17
    </refnamediv>
 
18
    <refsynopsisdiv>
 
19
        <title>呼び出し手順</title>
 
20
        <synopsis>
 
21
            doc = xmlDocument([uri, [, version]])
 
22
        </synopsis>
 
23
    </refsynopsisdiv>
 
24
    <refsection>
 
25
        <title>引数</title>
 
26
        <variablelist>
 
27
            <varlistentry>
 
28
                <term>uri</term>
 
29
                <listitem>
 
30
                    <para>文書のuriを指定する文字列</para>
 
31
                </listitem>
 
32
            </varlistentry>
 
33
            <varlistentry>
 
34
                <term>version</term>
 
35
                <listitem>
 
36
                    <para>文書のXMLバージョンを指定する文字列</para>
 
37
                </listitem>
 
38
            </varlistentry>
 
39
            <varlistentry>
 
40
                <term>doc</term>
 
41
                <listitem>
 
42
                    <para>XMLDoc型のmlist</para>
 
43
                </listitem>
 
44
            </varlistentry>
 
45
        </variablelist>
 
46
    </refsection>
 
47
    <refsection>
 
48
        <title>説明</title>
 
49
        <para>XML文書を新規に作成します.</para>
 
50
    </refsection>
 
51
    <refsection>
 
52
        <title>例</title>
 
53
        <programlisting role="example"><![CDATA[
 
54
    doc = xmlDocument("TMPDIR/foo.xml");
 
55
    root = xmlElement(doc, "root");
 
56
    root.attributes.attr = "value";
 
57
 
 
58
    root.children(1) = "<a>hello</a>";
 
59
    root.children(2) = xmlElement(doc, "b");
 
60
    root.children(2).attributes.id = "123";
 
61
    root.children(2).content = " world";
 
62
 
 
63
    doc.root = root;
 
64
    xmlDump(doc)
 
65
 
 
66
    xmlDelete(doc);
 
67
    ]]></programlisting>
 
68
    </refsection>
 
69
    <refsection role="see also">
 
70
        <title>参照</title>
 
71
        <simplelist type="inline">
 
72
            <member>
 
73
                <link linkend="XMLObjects">XML Objects</link>
 
74
            </member>
 
75
            <member>
 
76
                <link linkend="xmlElement">xmlElement</link>
 
77
            </member>
 
78
        </simplelist>
 
79
    </refsection>
 
80
    <refsection>
 
81
        <title>履歴</title>
 
82
        <revhistory>
 
83
            <revision>
 
84
                <revnumber>5.4.0</revnumber>
 
85
                <revremark>XMLモジュールが導入されました.</revremark>
 
86
            </revision>
 
87
        </revhistory>
 
88
    </refsection>
 
89
</refentry>