PDA

View Full Version : Accessing an XML map...


D-Cypell
11-08-2004, 04:35 PM
Hello all,

I am still in the early stages of learning how to use datasets so please excuse the 'newbieness' of my question...

I have an XML file which represents my I18n info in the following format...

<data>
<entry key="window.title">Window</entry>
<entry key="text1.label">Text 1</entry>
<entry key="text2.label">Text 2</entry>
</data>

I want to write a laszlo method with the signature

<method name="getMessage" args="key"/>

That will return the text that is represented by the key. I have been unsuccessful so far. Any tips? Is there a better way of achieving this?

DC

walrustitty
04-13-2005, 11:45 PM
Hi DC,
Did you find a nice solution to this one?
If so can you post it here as I have the same problem.

Cheers.