Hi
This is something we plan to address in the future. At the moment content including XML is just converted into text and indexed. You could write your own action to extract meta data and populate some predefined properties, just like there is for word docs and pdfs.
Properties need to be defined in the model. There is no support for any old property as defined by any tag you may find in the xml.
At the moment, you can extract information from elements in your xml docs into a defined property and then use that for search. An action would be best for this.
We do not support internal queries into XML documents. This does sound possible - but not using the current search API.
There is no reason why you can not add additional fields to the lucene index if you find an XML doc. You would have to alter LuceneIndexerImpl to do this if you find an XML type. You may also need to add support to determine the type of each field in LuceneAnalyser.
Regards
Andy