How to export ais as xml design?

I have designed a screen view and would like to fetch the xml code from my design. Is there a way around that?