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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 24th, 2002, 05:10 AM
woktoc woktoc is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 5 woktoc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
need some xml clarification

Hi All,

I've been trying to understand xml, can you kind souls out there help to clarify some concepts for me:

1) XML only represents data
2) XSL/XSLT are the stylesheets used to present the XML data
3) What is a parser? What does it do in regards to XML?
4) Why do I need expat parser and sablotron? why doesn't the xml display in explorer 6?
5) I'm trying to grab XML feeds with PHP and convert them into html files, do I still need the expat parser and sablotron to run on the server?

TQ, woktoc

Reply With Quote
  #2  
Old June 24th, 2002, 06:06 AM
binky's Avatar
binky binky is offline
Gerbil
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: In a Rotastak
Posts: 1,763 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 22 h 12 m 52 sec
Reputation Power: 18
1) XML only represents data

Essentially yes, data in a flat file.

2) XSL/XSLT are the stylesheets used to present the XML data

Yup.

3) What is a parser? What does it do in regards to XML?

A parser is something that converts one thing to another, in javascript parseInt uses a parser to convert something to an integer. In XML terms a parser is a tool used to convert the XML markup into something more managable. It's pretty much something that extracts the data.

4) Why do I need expat parser and sablotron? why doesn't the xml display in explorer 6?

You don't need them, there is a variety of parsers available. XML does show in IE6 but as a collapsable tree. You could use XSLT in IE6 to generate something formatted. A parser allows the data to be put into variables and dealt with in the same way you could deal with database data. The Adobe SVG plugin is acted upon parsed data, and that's nothing like a collapsable tree.

5) I'm trying to grab XML feeds with PHP and convert them into html files, do I still need the expat parser and sablotron to run on the server?

You should be able to use the standard XML parser on the standard XML installation, with Expat (and not sablotron):

http://www.php.net/manual/en/ref.xml.php

Note the bit that says to not Apache now comes with expat as standard.
__________________
- Sorted!

www.ppfuk.com - Free Photo Sharing

Reply With Quote
  #3  
Old June 24th, 2002, 07:21 AM
woktoc woktoc is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 5 woktoc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks Binky, that helps a lot - woktoc

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > need some xml clarification


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