Hi Charlie, I think in this case you only can do it with JavaScript. QC is not so good with branches and iterations. Do you need any help with it?
best, Achim Breidenbach Boinx Software On 14.09.2010, at 16:21, Charlie Francis wrote: > Hi, > > I haven't looked too far into this but thought I'd ask anyway as you guys > seem to be very knowledgable! > > <root> > <id>home</id> > <title>Home Page</title> > <story> > <id>default</id> > <title>Welcome</title> > <content>We welcome you to the site</content> > </story> > <story> > <id>sale</id> > <title>Buy</title> > <content>Here is some stuff to buy</content> > </story> > <story> > <id>default</id> > <title>News</title> > <content>The best place for news</content> > </story> > </story> > > I've got an XML sheet that I want to search through for a specific key,value > pair and select that part of the structure to output. > > So for instance with the above XML I want to select only the story element > with the id of default and then be able to use it's sibling elements title > (Welcome) and content (We welcome you to the site). Is it possible to do this > with the built in XML and Structure patches, or will I have to create some > form of Javascript Patch to search through and then select the correct story > element. > > If there is a better way of doing this I would like to know, as I'm > completely open to new and better ways of solving problems! > > Thanks, > Charlie > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

