1
<?xml version="1.0" encoding="UTF-8"?>
3
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4
* Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
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
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="xmlGetNsByPrefix" xml:lang="ja">
15
<refname>xmlGetNsByPrefix</refname>
16
<refpurpose>接頭辞により名前空間を取得する</refpurpose>
21
ns = xmlGetNsByPrefix(elem, prefix)
30
<para>XMLElem型のmlist</para>
36
<para>接頭辞を指定する文字列</para>
42
<para>XMLNs型のmlist</para>
50
要素またはそのアクセサ上で指定した接頭辞を有する名前空間を探します.
55
<programlisting role="example"><![CDATA[
56
doc = xmlReadStr("<root><a xmlns:scilab=""http://www.scilab.org""><b>Hello </b><scilab:c>World</scilab:c></a></root>")
57
c = doc.root.children(1).children(2);
58
xmlGetNsByPrefix(c, "scilab")
63
<refsection role="see also">
65
<simplelist type="inline">
67
<link linkend="xmlNs">xmlNs</link>
70
<link linkend="xmlGetNsByHref">xmlGetNsByHref</link>
78
<revnumber>5.4.0</revnumber>
79
<revremark>XMLモジュールが導入されました.</revremark>