Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Finding Any Occurrance

From: "Bob Portnell" <simply.bobp@--------->
To:
Date: 9/6/2006 12:11:00 AM
Yes indeed, once I got my contexts all squared away (including pesky
namespace contexts), it's all come neatly into place.

And my XSLT Cookbook arrived today, so I needn't abuse you fine folks
as a court of first resort! :-)

Bob P
simply.bobp@xxxxxxxxx

On 9/1/06, Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
At 02:35 PM 9/1/2006, Bob wrote:
>It turns out my problem is actually about context. I'm inside a
>for-each loop at that point, with that loop's context pointing out
>into the outside document. I need to get myself back into the source
>document somehow. Ew. Am I going to have to explicitly call the
>document every time I want something from it?

Ah, in that case it will help if you've bound your original source
document to a variable...

if test="$source//title = $matcher"



Or maybe you want to bind the titles themselves to the variable.



Cheers,
Wendell


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent