XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old August 28th, 2003, 07:56 AM
furious5 furious5 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 12 furious5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Selecting Records with ASP/XML

I am new to XML and am still trying to get to grips with it, so apologies if this is a fairly fundamental question.

Basically I want to select a record from an XML document, dependent upon the querystring that is past e.g http://www.default.com?ID=COMPANY would bring back the records named COMPANY from the XML file.

At present I have an XML file structure like so.

<TOPICS TYPE="COMPANY">
<TOPIC><TITLE>Head Office</TITLE></TOPIC>
<TOPIC><TITLE>Registered Office</TITLE></TOPIC>
<TOPIC><TITLE>Sales/Office</TITLE></TOPIC>
<TOPIC><TITLE>Agents/Distributors</TITLE></TOPIC>
<TOPIC><TITLE>Bank Details</TITLE></TOPIC>
</TOPICS>

Any help in this matter would be greatly appreciated.

Reply With Quote
  #2  
Old September 2nd, 2003, 01:41 AM
unatratnag unatratnag is offline
Average Intelligence
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Location: Ohio/Chicago
Posts: 678 unatratnag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 22 sec
Reputation Power: 6
Send a message via AIM to unatratnag
can we possibly rework how you have this all set up? This is a little wierd.

Reply With Quote
  #3  
Old September 3rd, 2003, 08:23 AM
hhibo hhibo is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 8 hhibo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It would help to know what kind of language you use / intend to use to query your xml-files.

For example, I use XSL to transform (query) my XML-files, through an ASP-application. The ASP-page picks up the needed parameters from the url, loads an xml-file and an the xsl-stylesheet, and in doing so it passes on the parameters needed for the stylesheet to find the right elements in the xml-file. It's really simple - but, I'm not sure this is what you had in mind.

bente

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Selecting Records with ASP/XML


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway