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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old September 16th, 2002, 06:40 PM
eemo eemo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: UK
Posts: 76 eemo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 55 sec
Reputation Power: 6
how do i store/retrieve xml data in a relational db ?

im working on an application that needs to work with xslt stylesheets. i thought the best way to do this would be to store the XML data in a relational database, eg MySQL. and work with it using PHP.

The intention is to query the MySQL database for data, and have XML generated which can then be XSLT processed.

Now how do i actually go about doing this please ? i have NO clue whatsoever.


if someone can provide sample code that would be most excellent (sorry to sound like a ninja turtle, i know theyre old)

Reply With Quote
  #2  
Old September 16th, 2002, 10:59 PM
clay clay is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 28 clay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
well, if you have the information in there, you would need to query the database and get the results, and then have it print out the results in a xml document. I'm not sure about doing that in php. But that is what you'll have to do.

I'm assuming you want to make like a feed script? And then another script will read the xml data?

Reply With Quote
  #3  
Old September 17th, 2002, 04:04 AM
eemo eemo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: UK
Posts: 76 eemo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 55 sec
Reputation Power: 6
erm, whats a feed script ?

Reply With Quote
  #4  
Old September 17th, 2002, 01:28 PM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
Feed script:
Queries the database and builds a response in xml (versus html, or text, or jpg).

Then you have another script which calls your feed script and does an xsl transform on the results.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > how do i store/retrieve xml data in a relational db ?


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 2 hosted by Hostway