|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Searching a group of xml documents
> -----Original Message----- > From: bmcleere@xxxxxxxxxx [mailto:bmcleere@xxxxxxxxxx] > Sent: 14 July 2003 14:11 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Searching a group of xml documents > > > Hi all, > > I need to search a repository/directory of xml documents. I > want to search each xml document for the contents of a tag > called <identifier>. The contents of the tag would be as follows: > > <identifier>Perl for Beginners</identifier> > > When a match is found I want to display the contents of the > <location> tag in the selected document to the screen which > would be a URL e.g. > <location>http://www.sometag.asp</location> > > I know how to search one document and retrieve the data from > it but need help with more than one. > something like transquery will do for you http://www.bayes.co.uk/xml/index.xml?/xml/utils/transquery/transquery.xml but really architecturally, this is not the way to do it. you know that you can bring in external xml files using the xpath document() command, so you could use one xslt file to search a variety of documents. take a peek over at www.dpawson.co.uk gl, jim fuller XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








