<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:yagit@mknada.sakura.ne.jp" title="Tomofumi Yagi <yagit@mknada.sakura.ne.jp>"> <span class="fn">Tomofumi Yagi</span></a>
</span> changed
<a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILTERXML function doesn't work with some XML Responses from mojikiban API"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=118772">bug 118772</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Whiteboard</td>
<td>
</td>
<td>interoperability
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILTERXML function doesn't work with some XML Responses from mojikiban API"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=118772#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILTERXML function doesn't work with some XML Responses from mojikiban API"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=118772">bug 118772</a>
from <span class="vcard"><a class="email" href="mailto:yagit@mknada.sakura.ne.jp" title="Tomofumi Yagi <yagit@mknada.sakura.ne.jp>"> <span class="fn">Tomofumi Yagi</span></a>
</span></b>
<pre>(In reply to himajin100000 from <a href="show_bug.cgi?id=118772#c2">comment #2</a>)
<span class="quote">> Hi, Mr.Yagi.
>
> Have you taken the XML's "default namespace" into account?
>
> <a href="https://superuser.com/questions/1048743/how-does-one-use-libreoffice">https://superuser.com/questions/1048743/how-does-one-use-libreoffice</a>-
> filterxml-function-on-xml-documents-with-namespaces
>
> IMHO, I don't like Excel's ignorance of default namespace.</span >
Hi himajin100000,
Thanks for your advice.
I have correct the expression(such as the following),then FILTERXML function
worked well on LibreOffice and Excel 2016 both.
=FILTERXML(A1,"//*[name()='MJ文字情報一覧表']/*[name()='MJ文字情報']/*[name()='MJ文字図形名']")
=FILTERXML(A1,"//*[name()='MJ文字図形名' and
namespace-uri()='urn:mojikiban:ipa:go:jp:mji']")
Umm, I think Excel 2016 can accept some fuzzy or incorrect expressions, but
kindly a bit in this case.
After all, FILTERXML function on LibreOffice is right.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>