[SMARTY] Associative Arrays with special characters
"Andrew Nagy" <[email protected]>
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
I have a serialized XML document in an associative array using
XML_Serializer. Due to the use of namespaces, many of the elements in
the document use a colon (:) within the name. Since the names are
stored as the array key, this causes problems with smarty.
How do I reference a variable such as this within smarty:
$array['xlink:href'] ?
When I attempt to use the correct syntax {$array.xlink:href} I get the
following error:
syntax error: unrecognized tag
Any ideas?
Thanks
Andrew
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php