added new japanese translation. 91/9891/1
Rui Hirokawa [Sat, 1 Dec 2012 13:03:45 +0000 (22:03 +0900)]
Change-Id: Ib2bc7f12c933ba51c64f8c001af057f0f5857671
(cherry picked from commit 1437a96d3dce2b7f15fa884083a72266ee795858)

scilab/modules/xml/help/ja_JP/xmlAppend.xml [new file with mode: 0644]
scilab/modules/xml/help/ja_JP/xmlName.xml [new file with mode: 0644]

diff --git a/scilab/modules/xml/help/ja_JP/xmlAppend.xml b/scilab/modules/xml/help/ja_JP/xmlAppend.xml
new file mode 100644 (file)
index 0000000..a7d2f73
--- /dev/null
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--\r
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab\r
+* Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET\r
+*\r
+* This file must be used under the terms of the CeCILL.\r
+* This source file is licensed as described in the file COPYING, which\r
+* you should have received as part of this distribution.  The terms\r
+* are also available at\r
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt\r
+*\r
+-->
+
+<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="xmlAppend" xml:lang="ja">
+    
+    <refnamediv>
+        
+        <refname>xmlAppend</refname>
+        
+        <refpurpose>子要素を親に追加する</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼出し手順</title>
+        
+        <synopsis>
+            
+            xmlAppend(parent, child)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>引数</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>parent</term>
+                
+                <listitem>
+                    
+                    <para>XMLElem型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>child</term>
+                
+                <listitem>
+                    
+                    <para>XMLElem型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>他の要素の子として要素を追加します.</para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[\r
+    doc = xmlDocument();\r
+    root = xmlElement(doc, "root");\r
+    doc.root = root;\r
+\r
+    for i=1:5\r
+        xmlAppend(doc.root, xmlElement(doc, "child_" + string(i)));\r
+    end;\r
+    \r
+    xmlDump(doc)\r
+    xmlDelete(doc);\r
+    ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="XMLObjects">XML Objects</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="xmlElement">xmlElement</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.4.1</revnumber>
+                
+                <revremark>XMLモジュールが更新されました.</revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
diff --git a/scilab/modules/xml/help/ja_JP/xmlName.xml b/scilab/modules/xml/help/ja_JP/xmlName.xml
new file mode 100644 (file)
index 0000000..4d85979
--- /dev/null
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--\r
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab\r
+* Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET\r
+*\r
+* This file must be used under the terms of the CeCILL.\r
+* This source file is licensed as described in the file COPYING, which\r
+* you should have received as part of this distribution.  The terms\r
+* are also available at\r
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt\r
+*\r
+-->
+
+<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">
+    
+    <refnamediv>
+        
+        <refname>xmlName</refname>
+        
+        <refpurpose>要素名を取得する.</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼出し手順</title>
+        
+        <synopsis>
+            
+            names = xmlName(obj)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>引数</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>obj</term>
+                
+                <listitem>
+                    
+                    <para>obj, XMLSet,XMLList,XMLElemまたはXMLAttr型の
+                        
+                        XML mlist
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>name</term>
+                
+                <listitem>
+                    
+                    <para>名前, 1行分の文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            XMLObjectを構成する要素の名前を取得します.
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[\r
+doc = xmlReadStr("<root><foo a=""123"" b=""456"" c=""789""/></root>")\r
+\r
+// 単一の要素の名前を取得\r
+xmlName(doc.root.children(1))\r
+\r
+// 属性のリストの名前を取得\r
+xmlName(doc.root.children(1).attributes)\r
+\r
+// XPathクエリの結果の名前を取得\r
+xmlName(xmlXPath(doc,"//foo/@*"))\r
+\r
+xmlDelete(doc);\r
+    ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="xmlXPath">xmlXPath</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="xmlAsText">xmlAsText</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="xmlAsNumber">xmlAsNumber</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.4.1</revnumber>
+                
+                <revremark>xmlName関数が導入されました.</revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+