XML documents do not have an associated XSL stylesheet. That is to say, for any given XML document, any number of XSL styleshests could be used to transform it. What are you trying to do?
There's an unlimited number of ways to transform an XML document into an HTML document, and thus an unlimited number of XSL stylesheets to do so. What do you have so far?
Ravi, first you must learn the syntax of the eXstensible Stylesheet Language and how an XSLT Engine operates. Then you need to learn how to write XSL code, e.g if statements, for loops, etc., using the XSL syntax. There are numerous books that will teach you XSL.
In case it isn't clear yet: XSLT is a programming language. You wouldn't post here and say "I need to write a Java program to convert this file format to that file format, but I don't know anything about Java, what should I do", would you?