Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have tried with the below command in my xsl file

<xsl:import href = "c:\image\test.xml">
<xsl:apply-imports/>

but it doesn't display with the actual xml data what i expected. how to display the exact info what we see when we open an xml file in a notepad?
Posted
Comments
Sergey Alexandrovich Kryukov 28-Oct-11 15:52pm    
What do you mean by that?
--SA

1 solution

The import element is used to import another stylesheet not xml
http://www.w3schools.com/xsl/el_import.asp[^]

You apply styles to xml you don't import into a stylesheet.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 28-Oct-11 15:51pm    
Correct, a 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900