简体   繁体   中英

How to I change the xslt applied to XML document in VS 2008 IDE?

I have an XML document and made an XSLT to output is as HTML and viewed the output in the IDE. Now I want to create an XSLT to output as text file, but the 'Show XSLT Output' only shows me the HTML. How do I switch it to the text output XSLT?

I even put in the line:

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

With the XML document open, look in the Property Grid (F4). You'll see that you have the Stylesheet property set to the original (HTML) stylesheet. Switch it to use the text stylesheet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM