Hello,


I have a very small challenge for anyone good with python, i'm trying to import some points from a xml file with this structure:

<xml>
<Sectors>
<Sector id="S_128" lodValue="" rampValue="Ramp02">
<Seat name="S_128-14-1" prefab="M-Seat-01-255" px="22.627" py="4.35" pz="-25.021" rx="0" ry="0" rz="0" />
<Seat name="S_128-14-2" prefab="M-Seat-01-255" px="23.155" py="4.35" pz="-25.021" rx="0" ry="0" rz="0" />
<Seat name="S_128-14-3" prefab="M-Seat-01-255" px="23.684" py="4.35" pz="-25.021" rx="0" ry="0" rz="0" />
<Seat name="S_128-14-4" prefab="M-Seat-01-255" px="24.212" py="4.35" pz="-25.021" rx="0" ry="0" rz="0" />

What i need is to import the px,py,pz,rx,ry,and rz atributes as position and rotation values in order to place instanced objects on them.

I'm not sure if its better to use particles or dupli vertex or any other solution so if anyone has the time to give some advice or helping with the script i would really apreciate it.

I must say i'm an experienced user in blender but never had the time for coding so please excuse me if i'm not making myself clear.


Thanks in advance