[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xsl-list
Subject:    Re: [xsl] Scope Problems Resulting from merged docbook xsl files
From:       "Alex Muir alex () tilogeo ! com" <xsl-list-service () lists ! mulberrytech ! com>
Date:       2015-02-10 11:51:14
Message-ID: 20150210065043.92931 () lists ! mulberrytech ! com
[Download RAW message or body]

Oh,,, I see the error.. I had been stripping namespaces off of params and
variables and was also stripping the prefix xsl: and didn't notice until
now..

Regards




Regards

Alex
Tilogeo.com

On Tue, Feb 10, 2015 at 11:25 AM, Alex Muir alex@tilogeo.com <
xsl-list-service@lists.mulberrytech.com> wrote:

> Greetings,
>
> I have a client request to create logic to merge included and imported
> xslt files into 1 main file.
>
> I've written a process that recurses through imports and includes
> collecting data and adds different priorities to imported templates
> depending on the import level and have left duplicate templates to be
> handled manually.
>
> One odd scope issue that I can't figure out, using some docbook xslt for
> testing, is that some variables that have a global variable declaration
> such as $qanda.defaultlabel in the  output I've posted here
>
>
> https://drive.google.com/file/d/0B4d4sR2XatuteGlrbzNOYkdxTHc/view?usp=sharing
>
> are recognized as having been declared in all but one place as if the
> scope in that particular location was not covered. I don't see a reason why
> this would be occurring. Can anyone figure it out?
>
> Regards
>
> Alex
> Tilogeo.com
>   XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <-list/2637520> (by
> email <>)
>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/651070
or by email: xsl-list-unsub@lists.mulberrytech.com
--~--
[Attachment #3 (text/html)]

<div dir="ltr"><div>Oh,,, I see the error.. I had been stripping namespaces off of \
params and variables and was also stripping the prefix xsl: and didn&#39;t notice \
until now..<br><br></div>Regards<br><div><br><br></div></div><div \
class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div \
dir="ltr"><div class="gmail_signature"><div \
dir="ltr"><div><div><br></div><div>Regards<br></div><br>Alex<br></div>Tilogeo.com<br></div></div></div></div></div>
 <br><div class="gmail_quote">On Tue, Feb 10, 2015 at 11:25 AM, Alex Muir <a \
href="mailto:alex@tilogeo.com">alex@tilogeo.com</a> <span dir="ltr">&lt;<a \
href="mailto:xsl-list-service@lists.mulberrytech.com" \
target="_blank">xsl-list-service@lists.mulberrytech.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Greetings,<br><br></div>I \
have a client request to create logic to merge included and imported xslt files into \
1 main file. <br><br></div>I&#39;ve written a process that recurses through imports \
and includes collecting data and adds different priorities to imported templates \
depending on the import level and have left duplicate templates to be handled \
manually.<br><br></div><div>One odd scope issue that I can&#39;t figure out, using \
some docbook xslt for testing, is that some variables that have a global variable \
declaration such as $qanda.defaultlabel in the   output I&#39;ve posted here \
<br><br><a href="https://drive.google.com/file/d/0B4d4sR2XatuteGlrbzNOYkdxTHc/view?usp=sharing" \
target="_blank">https://drive.google.com/file/d/0B4d4sR2XatuteGlrbzNOYkdxTHc/view?usp=sharing</a><br><div><br></div>are \
recognized as having been declared in all but one place as if the scope in that \
particular location was not covered. I don&#39;t see a reason why this would be \
occurring. Can anyone figure it out? \
<br></div><div><div><div><div><div><div><div><div \
dir="ltr"><div><div><br></div>Regards<br><br>Alex \
<br></div>Tilogeo.com<br></div></div></div> </div></div></div></div></div></div>
<div>
<div style="border-top:1px solid \
black;background-color:#dddddd;color:#888888;font-size:smaller;padding:5px;text-align: \
center;font-family:arial,verdana,arial,sans-serif;margin-top:1em;clear:both;margin:auto">
 <a href="http://www.mulberrytech.com/xsl/xsl-list" target="_blank">
XSL-List info and archive</a>
<div style="text-align:center">
<a style="color:blue" href="-list/2637520" target="_blank">EasyUnsubscribe</a>
(<a style="color:blue" href="" target="_blank">by email</a>)
</div>
</div>
</div></blockquote></div><br></div>
<div><!-- begin bl.html.trailer -->
<div style="border-top:1px solid black; background-color: #dddddd;
color: #888888; font-size: smaller; padding: 5px; text-align: center;
font-family: arial,verdana,arial,sans-serif; margin-top:1em; clear:
both; margin: auto">
<a href="http://www.mulberrytech.com/xsl/xsl-list">
XSL-List info and archive</a>
<div style="text-align:center;">
<a style="color: blue;"
  href="http://lists.mulberrytech.com/unsub/xsl-list/651070"
> EasyUnsubscribe</a>
(<a style="color: blue;"
href="mailto:xsl-list-unsub@lists.mulberrytech.com?subject=remove"
> by email</a>)
</div>
</div>
<!-- end bl.html.trailer --></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic