added new japanese translation.
[scilab.git] / scilab / modules / xml / help / ja_JP / xmlName.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--\r
4 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab\r
5 * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET\r
6 *\r
7 * This file must be used under the terms of the CeCILL.\r
8 * This source file is licensed as described in the file COPYING, which\r
9 * you should have received as part of this distribution.  The terms\r
10 * are also available at\r
11 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt\r
12 *\r
13 -->
14
15 <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" xmlns:scilab="http://www.scilab.org" xml:id="xmlName" xml:lang="ja">
16     
17     <refnamediv>
18         
19         <refname>xmlName</refname>
20         
21         <refpurpose>要素名を取得する.</refpurpose>
22         
23     </refnamediv>
24     
25     <refsynopsisdiv>
26         
27         <title>呼出し手順</title>
28         
29         <synopsis>
30             
31             names = xmlName(obj)
32             
33         </synopsis>
34         
35     </refsynopsisdiv>
36     
37     <refsection>
38         
39         <title>引数</title>
40         
41         <variablelist>
42             
43             <varlistentry>
44                 
45                 <term>obj</term>
46                 
47                 <listitem>
48                     
49                     <para>obj, XMLSet,XMLList,XMLElemまたはXMLAttr型の
50                         
51                         XML mlist
52                     </para>
53                     
54                 </listitem>
55                 
56             </varlistentry>
57             
58             <varlistentry>
59                 
60                 <term>name</term>
61                 
62                 <listitem>
63                     
64                     <para>名前, 1行分の文字列</para>
65                     
66                 </listitem>
67                 
68             </varlistentry>
69             
70         </variablelist>
71         
72     </refsection>
73     
74     <refsection>
75         
76         <title>説明</title>
77         
78         <para>
79             
80             XMLObjectを構成する要素の名前を取得します.
81         </para>
82         
83     </refsection>
84     
85     <refsection>
86         
87         <title>例</title>
88         
89         <programlisting role="example"><![CDATA[\r
90 doc = xmlReadStr("<root><foo a=""123"" b=""456"" c=""789""/></root>")\r
91 \r
92 // 単一の要素の名前を取得\r
93 xmlName(doc.root.children(1))\r
94 \r
95 // 属性のリストの名前を取得\r
96 xmlName(doc.root.children(1).attributes)\r
97 \r
98 // XPathクエリの結果の名前を取得\r
99 xmlName(xmlXPath(doc,"//foo/@*"))\r
100 \r
101 xmlDelete(doc);\r
102     ]]></programlisting>
103         
104     </refsection>
105     
106     <refsection role="see also">
107         
108         <title>参照</title>
109         
110         <simplelist type="inline">
111             
112             <member>
113                 
114                 <link linkend="xmlXPath">xmlXPath</link>
115                 
116             </member>
117             
118             <member>
119                 
120                 <link linkend="xmlAsText">xmlAsText</link>
121                 
122             </member>
123             
124             <member>
125                 
126                 <link linkend="xmlAsNumber">xmlAsNumber</link>
127                 
128             </member>
129             
130         </simplelist>
131         
132     </refsection>
133     
134     <refsection>
135         
136         <title>履歴</title>
137         
138         <revhistory>
139             
140             <revision>
141                 
142                 <revnumber>5.4.1</revnumber>
143                 
144                 <revremark>xmlName関数が導入されました.</revremark>
145                 
146             </revision>
147             
148         </revhistory>
149         
150     </refsection>
151     
152 </refentry>
153