|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
How would you do this? (xml+xsd+php)
Hello guys,
I need some help with figuring out the best way to approach a problem I need to solve. Basically I need to figure out a way to bind an xml document to its xsd file to generate output. The reason for this is that the xsd file has meta data and "human identifiers" associated with the nodes it outlines, but that meta data doesn't ever make it to the actual xml file. So what I am being asked to do is somehow match the xsd file with the xml file and use the meta data from the xsd file to "enhance" the output I generate from the xml. This is not something I am very familiar with at all although I have a good understanding of how to work with xml, xslt and the such. Anyway, if anyone could help point me in the right direction or how you would possibly go about doing this, I would appreciate it. Thanks, Chris |
|
#2
|
||||
|
||||
|
Take a look at DOM or SimpleXML in PHP. Since version 5, XML works pretty good in PHP. I'm not sure what you mean with meta data in the xsd, could be my english, could be a gap in my xml/xsd knowledge. Could you give an example?
XML and XSLT work fine in PHP, as long as you use version 1.0 for your XSLT.
__________________
PostgreSQL-manual |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > How would you do this? (xml+xsd+php) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|