-1

I'm looking to do something like this:

<resources>
    <array name="foo">
        <item>Foo!</item>
        <array name="bar">
            <item>Bar!</item>
            <item>Baz!</item>
        </array>
    </array>
</resources>

Is there any support for this? Or will I have to write my own xml parser?

Slippery John
  • 747
  • 2
  • 9
  • 20

1 Answers1

0

You cannot use nested resource arrays like you have given as an example. It is however an option to make a one-dimensional array containing JSON or XML documents representing an array as each item. You will have to parse these arrays on your own though.

Michael Hoyle
  • 249
  • 2
  • 9