A unified approach to structured and XML data modeling and manipulation