Hi, all.

When I run a query against one of my collections I get something like this:
<?xml version="1.0"?>
<EquipmentType id="mic" xmlns:src="http://xml.apache.org/xindice/Query";
src:col="/db/xmtrader/Recording/Equipment/EquipmentType" src:key="mic">
 <Description lang="en">Microphone</Description>
 <Description lang="es">Micr�fono</Description>
</EquipmentType>

<?xml version="1.0"?>
<EquipmentType id="player" xmlns:src="http://xml.apache.org/xindice/Query";
src:col="/db/xmtrader/Recording/Equipment/EquipmentType" src:key="player">
 <Description lang="en">Player</Description>
 <Description lang="es">Reproductor</Description>
</EquipmentType>

<?xml version="1.0"?>
<EquipmentType id="preamp" xmlns:src="http://xml.apache.org/xindice/Query";
src:col="/db/xmtrader/Recording/Equipment/EquipmentType" src:key="preamp">
 <Description lang="en">Preamplifier</Description>
 <Description lang="es">Preamplificador</Description>
</EquipmentType>

More or less is what I expected, but I'd prefer to have a root element named
'EquipmentTypes' and I would need to get rid of the xml declaration in every
element. Is it possible?

Thanks.

Reply via email to