Logstash split xml fields

Hi
Magnus Baeck
I have tried with this method but the output of ruby debug shows following-

"finalevent" => [
        [0] [
            [0] "version",
            [1] "vendor"
        ]
    ],

The output of rubydebug correctly shows the value of vendor and version.
"vendor" => [
[ 0] "Microsoft Corporation",
[ 1] "Intel",
[ 2] "null",
[ 3] "Diebold",

.............................
.............................
"version" => [
[ 0] "1.7.0069.2",
[ 1] "null",
[ 2] "null",
[ 3] "3.0.0.1",