I am new for the xml. I just want to know why xml needs styles. is this style means css ? and where it should impact ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is a great place to start.
Basically, Style Sheets (similar to CSS) can be used on XML documents (by using XSL aka “Style Sheets for XML”) to display them in a “HTML Look and Feel”.
It’s done this way so that there is a clean separation between the content of a HTML page (which is provided as XML) and the actual view/display of it in the users’ browser.
This way, different XSL Style Sheets can be used on the same content (i.e. XML).
For example to display the XML in a iPhone or on a desktop monitor there can be two XSL’s, one for iPhone and one for the desktop monitor.