On 3/6/06, Kevin Yao <KYao(_at_)daisybrand(_dot_)com> wrote:
First time using this XSLT programming. I had some help over at the
Stylus Studio Forum but it seems that my problem is quite complex.
Here is the situation:
[snip]
<xsl:for-each select="Loop-FST/Segment-SDQ/Element-67*"> (* can be
1,2,3,4,5,.....- The output of the Element-67_4 at the first Loop-FST
can be different than the third Loop-FST)
[snip]
The second <xsl:for-each select="Loop-LIN"> needs to output whatever the
first <xsl:for-each ....."Element67*"> is. The difficulty is that the
first Element-67_3 in Loop-FST might be different than the third
Loop-FST.
Any help would be appreciated.
Clear as mud for me I'm afraid....
You might find this helps:
<xsl:for-each select="Loop-FST/Segment-SDQ/*[starts-with(local-name(),
'Element-67')]">
which selects any element with a local name that begins with "Element-67"
If not, try and narrow the example right down and try again
cheers
andrew
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--