<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Markus,<br>
<br>
We already have a recorded issue to make the xi:includes
transparent for oxy_xpath(). I'll add your vote for it.<br>
<br>
Meanwhile you can use a StylesFilter to dynamically compute the
"values" property [1]. Instead of using an XPath, in the
StylesFilter, you can use the API to navigate through the nodes
structure and get the text of the DT nodes. The nodes from the
XInclude are present in the author node model.<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://oxygenxml.com/doc/ug-editor/#topics/api_faq_add_form_control_from_filter.html">http://oxygenxml.com/doc/ug-editor/#topics/api_faq_add_form_control_from_filter.html</a><br>
<br>
<pre class="moz-signature" cols="72">Best regards,
Alex
--
Alex Jitianu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
On 8/19/2014 12:34 PM, practice innovation wrote:<br>
</div>
<blockquote
cite="mid:012701cfbb90$bd229a40$3767cec0$@practice-innovation.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi there,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I use oxy_xpath funktion
in CSS like this<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:#000096" lang="EN-US">oxy_xpath(</span><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:blue" lang="EN-US">"string-join(distinct-values(./..//DT/text()),',')"</span><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:#000096" lang="EN-US">)</span><span
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">which works very well
with an XML like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><TD><o:p></o:p></span></p>
<p class="MsoNormal"> <D><o:p></o:p></p>
<p class="MsoNormal"> <DT>….</DT><o:p></o:p></p>
<p class="MsoNormal"> <D><o:p></o:p></p>
<p class="MsoNormal"> <D><o:p></o:p></p>
<p class="MsoNormal"> <DT>….</DT><o:p></o:p></p>
<p class="MsoNormal"> <span lang="EN-US"><D><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"></TD><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But if D elements are in
XML modules included with XInclude<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><TD><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <xi:include
href=”d1.xml”/><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <xi:include
href=”d2.xml”/><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"></TD><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">No result is found (as
expected first). But if I execute XPath in Author mode the
results I’m looking for are found.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is there any chance to
get this or another oxy_xpath working with xincludes? <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This oxy_xpath call is
the value of “values” property in a popupselection control.
So I could implement my own custom control, but I want to
avoid this, if possible.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for any hints<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Markus<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<br>
</body>
</html>