XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Richard PottsSubject: Filtering 1000's of XML files for subsequent processing
Author: Richard Potts
Date: 30 Nov 2007 04:29 AM
Hi guys

I've got thousands of XML files, that I wish to search for a particular strings/ tags/ tagvalues/attribute values pattern(s)

So I've had a quick look at 'desktop search' applications but these are fine for finding existence of string 'anywhere' in particular file. But some of my queries are a little more complex as I want to check on the relative location of text/values, tags in a file.

Eg.. show me all files that contain "<tagA>"
AND
Contains <tagB>ValueX </tagB> that occurs as a child of <tagC>ValueY</tagc>


The files I match on I want to be able to copy to a new directory for subsequent processing by another application.

I have been thinking of writing an application in which I can test each file with a series of xpath queries but before doing so I wanted to check if I'd missed a trick or not that Stylus Studio could easily do for me? I've got Stylus Studio Enterprise 2006 Release 3. Or you know of any 'off the self' packages?

Any comments/ideas welcome. Thanks.

Posttop
Alberto MassariSubject: Filtering 1000's of XML files for subsequent processing
Author: Alberto Massari
Date: 30 Nov 2007 05:04 AM
Hi Richard,
see the thread at http://www.stylusstudio.com/ssdn/default.asp?action=9&read=7130&fid=59

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.