xsl-list
[Top] [All Lists]

[xsl] Re: Xpath conditional

2017-07-06 12:40:42
-----Original Message-----
From: Joseph L. Casale jcasale(_at_)activenetwerx(_dot_)com [mailto:xsl-list-
service(_at_)lists(_dot_)mulberrytech(_dot_)com]
Sent: Thursday, July 6, 2017 11:26 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Xpath conditional

How can I generate a match expression for a template that selects
the ComponentRef whose @Id equals the enclosing Component @Id
which wraps a File element with a known @Source.

Oops, forgot about the parent selectors:

//ComponentRef[@Id = //Component/File[@Source='$(var.MyVar)\load.aspx']/../@Id]
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] Xpath conditional, Joseph L. Casale jcasale(_at_)activenetwerx(_dot_)com
    • [xsl] Re: Xpath conditional, Joseph L. Casale jcasale(_at_)activenetwerx(_dot_)com <=