|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
New to XML, need help
I know, Its probably a really simple solution, and please, by all means, make me look like an IDIOT lol
I need to grabe the value of imgpath and the inside text which is in the XML like so: Code:
<icon imgpath="value">inside text</icon> and then parse it into an Img tag in HTML like so: Code:
<img src="$imgpath" ALT="/icon"/> or, whatever code works using XSL |
|
#2
|
||||
|
||||
|
XML:
PHP Code:
XSL (with icon as current): PHP Code:
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > New to XML, need help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|