Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
XML
Return associative array using xalan-c extensions
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="henribastien, post: 782791"] I'm trying to return an array from a xalan extension but so far I have made no progress. What I would like to return is something like that <entry id="red">201</entry> <entry id="green>55</entry> <entry id="blue">123</entry> so I could acces them with something like $returned[@id='red']. Problem is, I haven't figured out how to do that. I haven't found any exemple of a xalan extension function returning a nodeset so I fear it is not possible but I would have preferred to use only one function instead of three (or three call for that matter, i.e ext:get("blue") or ext:getBlue() ) Is it possible and if so could you provide an exemple. If there are other alternatives I'm open to any suggestion. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
Return associative array using xalan-c extensions
Top