|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Processing XML with PHP
This is a great tutorial. However, I just wonder how to output the attribute value without having to echo them by ourself? for example:
<list> <languages type="interpreted"> <name>PHP</name> <name>Python</name> <name>Ruby</name> </languages> <languages type="compiled"> <name>C</name> <name>Fortan</name> <name>Pascal</name> </languages> </list> We need to type: echo "The following compiled languages were found...<br />"; Is there any way to just output the attributes without echo that? I mean, in this case won't be a probelm because only 2 attributes: interpreted and compiled. However, if you're doing other XML doucment and has way more attributes, that will be a problem. How can we solve that? |
![]() |
| Viewing: Codewalkers Forums > Other > Tutorials > Processing XML with PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|