|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
Thanks Binky, that helps a lot - woktoc
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > need some xml clarification |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|