> I'd love to hear from anyone with opinions on how best to meld XML > templates with databases services.
The system identifier of an entity is a URI. So you can embed a query in that.
Rick Jelliffe