Getting .XML info from inside a bulding outline-- Process or plugin?

I’m not sure if this is the correct forum for this question …

Is there a process or plugin that will allow a user to extract a buildings data, but none of the surrounding data that would normally have to be manually removed when using a bounding box? In summation, just click on a buildings outline, and collect all the data within? Nothing from outside?
Thank you in advance!