XML to Javascript?

Is there anyway to convert a XML to JS? If so, how?

Thanks for advance.

XML is no code, its a dataset declaration.

You can read XML with JS as you do it with C#, either through an own parser or through System.Xml