提醒:csharp中xml引用xslt 2011年04月09日

演示:以MSN订阅提醒为例 订阅到哪吒,有更新提醒我
哪吒机器人提醒:
提醒:C++博客-C++ Programmer's Cookbook
【标题】csharp中xml引用xslt
【摘要】使用xmldocument.createprocessinginstruction()方法。 using system;using system.io;using system.xml;public class sample{ public static void main() { xmldocument doc = new xmldocument(); // create a procesing instruction. xmlprocessinginstruction newpi; string pitext = "type='text/xsl' href='book.xsl'"; newpi = doc.createprocessinginstruction("xml-stylesheet", pitext); // display the target and data information. console.writeline("", newpi.target, newpi.data); // ad... (04-09 21:03)
收藏 |  评论 |  推荐给好友  | 
本文共有 0 次分享
评论
共有 - 条评论


我要反馈