What are the benefits of using the "xml" datatype versus storing the xml content inside a "text" datatype?

Am I able to query by some specific xml attribute or element?

What about indexing and query performance?

Besides the postgresql manual what other online sources can you point me to?

Edit
Report