How do you attach an XSL to an XML in presenting output ?

Answers were Sorted based on User's Feedback



How do you attach an XSL to an XML in presenting output ?..

Answer / nithin chacko ninan

<?Xml:stylesheet type="text/xsl" href="path-name"?>

<?xml-stylesheet type="text/xsl" href="xxx.xsl"?>
in xml file ,use this PI for attaching xsl to an xml.

Is This Answer Correct ?    3 Yes 0 No

How do you attach an XSL to an XML in presenting output ?..

Answer / chandrasekhar


<?xml-stylesheet type="text/xsl" href="xxx.xsl"?>

by providing a processing instruction to parser by using
above instruction in xml file

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More XML XSLT RSS Interview Questions

How do I add an rss feed to my yahoo account?

0 Answers  


What is Extensible Markup Language?

0 Answers  


What is xml and its features?

0 Answers  


Why was xml developed?

0 Answers  


Explain how to retrieve value of an attribute for an element using XSLT?

0 Answers  


How can I read an xml file?

0 Answers  


What are the hooks provided by xslt?

0 Answers  


How do I save as an xml file?

0 Answers  


What is xslt explain with example?

0 Answers  


Explain the used of the xml prolog section.

0 Answers  


How do I view an xml file?

0 Answers  


Why is xml extensible?

0 Answers  


Categories