[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: equivalent for 'while'

Subject: RE: equivalent for 'while'
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Thu, 17 Feb 2005 08:23:25 -0000
RE:  equivalent for 'while'
> I feel rather silly but Ive tried out both your <xsl:for-each>
> statements and they dont seem to work for me. I dont really know what
> the cause is coz I've tried checking other dependencies and they're
> working fine.
>
> My problem really is trying to interact between two XML documents. I
> need to determine whether the top-level element of XML doc 1
> is present
> in XML doc 2 (which I've done). I then need to determine whether the
> defining sub-element of the top-level element in doc 1 is
> also present
> in XML doc 2 (this part is becoming a nightmare for me).
[snip]
> I'm seriously stuck with this problem and one of the main
> reasons is my
> background in procedural programming. I could probably have done this
> bit using Java in 5mins but its taking me forever to get it done in
> XSLT. But I want to use XSLT as its a very powerful language and will
> ultimately be the best choice for my requirements.
>
> Would sincerely appreciate your help.


I think it would be best if you posted your work so far - it could be
that the way you've approached the first part of your problem is causing
you problems for the second part.

Post an example of doc 1, an example of doc 2 and what output you would
like to get.

cheers
andrew

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.