Scalar. Appends one or more attributes to an XML element being constructed with XMLELEMENT().
XMLELEMENT
The following example shows an attribute being inserted during the construction of an XML element:
INSERT INTO OutStream
SELECT XMLELEMENT("order",
XMLATTRIBUTES(orders.customerName AS "custname"),
XMLELEMENT("orderid", orders.orderid))
FROM Orders;