please help me...

I'm working with some simple xml parsing.

in my xml document i have a tag like this: <billede 
img="theme/bg.gif"></billede>
which holds the path of a picture.

in the xml parser i'm trying to output it as an <img src=""> tag, but 
nothing seems to work.

some of the things i have tried:

case "BILLEDE":
                      print "<img src=\"$element_attrs['IMG']\">";
                      break;

- this will output an error message: warning, expecting T_STRING, 
T_VARIABLE ETC...

case "BILLEDE":
                      print "<img src=\"{$element_attrs['IMG']}\">";
                      break;

- this will let it parse, but it won't do anything with the html.

can somebody help me??


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to