2010-09-02 51 views

回答

1

是的,你可以看看這篇文章: http://www.tkachenko.com/blog/archives/000653.html

我寫的embedded resource resolver解析的網址是這樣的:

clires://assembly-name/path-to-embedded-file/embedded-file.xsl 
+0

看起來很好。但是我收到異常像「XmlResolver返回null ...」((路徑似乎是正確的... – 2010-09-08 13:55:43

+0

當你調用XslCompiledTrasform.Load? – 2010-09-08 17:34:30

+0

yep。你是否通過了解析器和xsl文件構建動作屬性是XmlEmbeddedResourceResolver resolver = new XmlEmbeddedResourceResolver(); xslt.Load(「clires://RzhdOnline/xsl/eticket_mail.xsl」,XsltSettings.TrustedXslt,resolver); – 2010-09-08 18:14:34

相關問題