Using XML for encoding Metadata in distributed systems (PhysDoc)