<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>No, there is no way to customize the <b>Scope and Filters</b>
page from the <b>XML Refactoring</b> dialog.</p>
<p>A possible solution would be to add additional information in the
XML Refactoring operation descriptor for this customization. I
will register this improvement on our side.</p>
<pre class="moz-signature" cols="72">Regards,
Radu
--
Radu Pisoi
<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>
<div class="moz-cite-prefix">On 3/6/2017 11:01 PM, Amanda Galtman
wrote:<br>
</div>
<blockquote
cite="mid:BN6PR05MB3122BDA013FD9C4E7D27C7D3832C0@BN6PR05MB3122.namprd05.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
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;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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"><span style="color:windowtext">One
follow-up question about custom XML Refactoring operations:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">I like how
my descriptor file can contain a text description that shows
up in the page of the wizard where the end user sets
parameter values. Is there any way for me to add text at the
top of the Scope and Filters page of the wizard? For my
particular operation, it is important that the end user NOT
choose “Project” as the scope, and I’d like to be able to
reinforce that. It is not a big deal, but it would be nice.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Amanda<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in
0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span
style="color:windowtext"> oXygen-user
[<a class="moz-txt-link-freetext" href="mailto:oxygen-user-bounces@oxygenxml.com">mailto:oxygen-user-bounces@oxygenxml.com</a>]
<b>On Behalf Of </b>Amanda Galtman<br>
<b>Sent:</b> Monday, March 06, 2017 11:10 AM<br>
<b>To:</b> Radu Pisoi <a class="moz-txt-link-rfc2396E" href="mailto:radu_pisoi@sync.ro"><radu_pisoi@sync.ro></a>;
<a class="moz-txt-link-abbreviated" href="mailto:oxygen-user@oxygenxml.com">oxygen-user@oxygenxml.com</a><br>
<b>Subject:</b> Re: [oXygen-user] Can custom XML
Refactoring operation resolve XIncludes via doc()?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="color:windowtext">Radu,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Thanks
for the information and suggestion. I see what you mean,
and your idea worked in my situation.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Best
regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Amanda<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue
1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span
style="color:windowtext"> oXygen-user [<a
moz-do-not-send="true"
href="mailto:oxygen-user-bounces@oxygenxml.com">mailto:oxygen-user-bounces@oxygenxml.com</a>]
<b>On Behalf Of </b>Radu Pisoi<br>
<b>Sent:</b> Thursday, March 02, 2017 10:14 AM<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:oxygen-user@oxygenxml.com">oxygen-user@oxygenxml.com</a><br>
<b>Subject:</b> Re: [oXygen-user] Can custom XML
Refactoring operation resolve XIncludes via doc()?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi,<br>
<br>
Unfortunately there is no out of the box setting that
can activate the XInclude expansion for the documents
loaded with the
<b>doc</b> function.<br>
<br>
As a simple workaround, you can use the following XSLT
snippet to recursively expand the XInclude nodes:<span
style="font-size:12.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="background:white"><span style="font-size:9.0pt;background:#F7FAFF"><</span><a moz-do-not-send="true" href="xsl:template"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:template</span></b></a><b><span style="font-size:9.0pt;color:navy;background:#F7FAFF"> </span></b><span style="font-size:9.0pt;background:#F7FAFF">match</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="/"</span></b><span style="font-size:9.0pt;background:#F7FAFF">></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"> </span><i><span style="font-size:9.0pt;color:gray"><!-- ... --><o:p></o:p></span></i></pre>
<pre style="background:white"><i><span style="font-size:9.0pt;color:gray"> </span></i><span style="font-size:9.0pt;background:#F7FAFF"><</span><a moz-do-not-send="true" href="xsl:variable"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:variable</span></b></a><b><span style="font-size:9.0pt;color:navy;background:#F7FAFF"> </span></b><span style="font-size:9.0pt;background:#F7FAFF">name</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="tsDoc" </span></b><span style="font-size:9.0pt;background:#F7FAFF">select</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="doc('path/to/targetset')"</span></b><span style="font-size:9.0pt;background:#F7FAFF">/></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"> <span style="background:#F7FAFF"><</span></span><a moz-do-not-send="true" href="xsl:variable"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:variable</span></b></a><b><span style="font-size:9.0pt;color:navy;background:#F7FAFF"> </span></b><span style="font-size:9.0pt;background:#F7FAFF">name</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="expandedTS" </span></b><span style="font-size:9.0pt;background:#F7FAFF">></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"> <span style="background:#F7FAFF"><</span></span><a moz-do-not-send="true" href="xsl:apply-templates"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:apply-templates</span></b></a><b><span style="font-size:9.0pt;color:navy;background:#F7FAFF"> </span></b><span style="font-size:9.0pt;background:#F7FAFF">select</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="$tsDoc" </span></b><span style="font-size:9.0pt;background:#F7FAFF">mode</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="expand-xi"</span></b><span style="font-size:9.0pt;background:#F7FAFF">/></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"> <span style="background:#F7FAFF"></</span></span><a moz-do-not-send="true" href="xsl:variable"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:variable</span></b></a><span style="font-size:9.0pt;background:#F7FAFF">></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"><o:p> </o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"> </span><i><span style="font-size:9.0pt;color:gray"><!-- Continue processing with XInclude expanded... --><o:p></o:p></span></i></pre>
<pre style="background:white"><i><span style="font-size:9.0pt;color:gray"><o:p> </o:p></span></i></pre>
<pre style="background:white"><span style="font-size:9.0pt;background:#F7FAFF"></</span><a moz-do-not-send="true" href="xsl:template"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:template</span></b></a><span style="font-size:9.0pt;background:#F7FAFF">></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"><o:p> </o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"><o:p> </o:p></span></pre>
<pre style="background:white"><i><span style="font-size:9.0pt;color:gray"><!-- Expand xi:include nodes --><o:p></o:p></span></i></pre>
<pre style="background:white"><span style="font-size:9.0pt;background:#F7FAFF"><</span><a moz-do-not-send="true" href="xsl:template"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:template</span></b></a><b><span style="font-size:9.0pt;color:navy;background:#F7FAFF"> </span></b><span style="font-size:9.0pt;background:#F7FAFF">xmlns:xi</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">=</span></b><a moz-do-not-send="true" href="http://www.w3.org/2001/XInclude"><b><span style="font-size:9.0pt;background:#F7FAFF">"http://www.w3.org/2001/XInclude"</span></b></a><b><span style="font-size:9.0pt;color:green;background:#F7FAFF"> </span></b><span style="font-size:9.0pt;background:#F7FAFF">match</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="xi:include[@href]" </span></b><span style="font-size:9.0pt;background:#F7FAFF">mode</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="expand-xi"</span></b><span style="font-size:9.0pt;background:#F7FAFF">></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"> <span style="background:#F7FAFF"><</span></span><a moz-do-not-send="true" href="xsl:variable"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:variable</span></b></a><b><span style="font-size:9.0pt;color:navy;background:#F7FAFF"> </span></b><span style="font-size:9.0pt;background:#F7FAFF">name</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="externalDoc" </span></b><span style="font-size:9.0pt;background:#F7FAFF">select</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">=</span></b><a moz-do-not-send="true" href="mailto:doc%28resolve-uri%28@href,base-uri%28.%29%29%29"><b><span style="font-size:9.0pt;background:#F7FAFF">"doc(resolve-uri(@href, base-uri(.)))"</span></b></a><span style="font-size:9.0pt;background:#F7FAFF">/></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"> <span style="background:#F7FAFF"><</span></span><a moz-do-not-send="true" href="xsl:apply-templates"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:apply-templates</span></b></a><b><span style="font-size:9.0pt;color:navy;background:#F7FAFF"> </span></b><span style="font-size:9.0pt;background:#F7FAFF">select</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="$externalDoc" </span></b><span style="font-size:9.0pt;background:#F7FAFF">mode</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="expand-xi"</span></b><span style="font-size:9.0pt;background:#F7FAFF">/></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt;background:#F7FAFF"></</span><a moz-do-not-send="true" href="xsl:template"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:template</span></b></a><span style="font-size:9.0pt;background:#F7FAFF">></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"><o:p> </o:p></span></pre>
<pre style="background:white"><i><span style="font-size:9.0pt;color:gray"><!-- Copy template --><o:p></o:p></span></i></pre>
<pre style="background:white"><span style="font-size:9.0pt;background:#F7FAFF"><</span><a moz-do-not-send="true" href="xsl:template"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:template</span></b></a><b><span style="font-size:9.0pt;color:navy;background:#F7FAFF"> </span></b><span style="font-size:9.0pt;background:#F7FAFF">match</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="node() | @*" </span></b><span style="font-size:9.0pt;background:#F7FAFF">mode</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="expand-xi"</span></b><span style="font-size:9.0pt;background:#F7FAFF">></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"> <span style="background:#F7FAFF"><</span></span><a moz-do-not-send="true" href="xsl:copy"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:copy</span></b></a><span style="font-size:9.0pt;background:#F7FAFF">></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"> <span style="background:#F7FAFF"><</span></span><a moz-do-not-send="true" href="xsl:apply-templates"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:apply-templates</span></b></a><b><span style="font-size:9.0pt;color:navy;background:#F7FAFF"> </span></b><span style="font-size:9.0pt;background:#F7FAFF">select</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="node() | @*" </span></b><span style="font-size:9.0pt;background:#F7FAFF">mode</span><b><span style="font-size:9.0pt;color:green;background:#F7FAFF">="expand-xi"</span></b><span style="font-size:9.0pt;background:#F7FAFF">/></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt"> <span style="background:#F7FAFF"></</span></span><a moz-do-not-send="true" href="xsl:copy"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:copy</span></b></a><span style="font-size:9.0pt;background:#F7FAFF">></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt;background:#F7FAFF"></</span><a moz-do-not-send="true" href="xsl:template"><b><span style="font-size:9.0pt;background:#F7FAFF">xsl:template</span></b></a><span style="font-size:9.0pt;background:#F7FAFF">></span><span style="font-size:9.0pt"><o:p></o:p></span></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Regards,<o:p></o:p></pre>
<pre>Radu<o:p></o:p></pre>
<pre>--<o:p></o:p></pre>
<pre>Radu Pisoi<o:p></o:p></pre>
<pre><oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a><o:p></o:p></pre>
<p class="MsoNormal"><br>
<br>
On 2/27/2017 7:33 PM, Amanda Galtman wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I see from the following doc page
that custom XML Refactoring operations disable the
XInclude mechanism.<o:p></o:p></p>
<p class="MsoNormal"><a moz-do-not-send="true"
href="https://oxygenxml.com/doc/versions/18.1/ug-editor/topics/custom-refactoring-operations-x-tools.html">https://oxygenxml.com/doc/versions/18.1/ug-editor/topics/custom-refactoring-operations-x-tools.html</a><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I understand the purpose of “safe
mode” for the file that the refactoring operation is
modifying. In my case, my refactoring operation needs
to retrieve data from an auxiliary XML file using
doc(). The other XML file is a DocBook targetset file.
Read-only access to the targetset file is good enough,
but I really need to get inside the subordinate
XInclude files. Is this possible in the context of a
custom XML Refactoring XSLT operation?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Amanda<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>oXygen-user mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><o:p> </o:p></span></p>
</div>
</div>
</div>
</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="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<br>
</body>
</html>