I am having trouble getting a transformation to work. Basic
transformation
works locally - i.e. if I have the XSL on a local system it all works
as it
should. My XSLT uses references another external XML document.
When I move the XSLT to a UNC it stops pulling in nodes from an
external
XML, using a 'document' reference in the XSLT. The 1.1 framework seems
to
deal with this in a slightly different (more secure) way, which is
described
here....
http://msdn.microsoft.com/library/de...tprocessor.asp
So, here is what I did:
Dim evidence As Security.Policy.Evidence =
XmlSecureResolver.CreateEvidenceForUrl("\\someserv er\d$\WWWROOT\Portal\sp2\X
SL\")
xslt.Load(New
XmlTextReader("\\someserver\d$\WWWROOT\Portal\sp2\ XSL\newsletter_html.xsl"),
New XmlUrlResolver, evidence)
When I do the transform, it actually does work, but it doesn't pull in
the
external reference. So, my guess on reading the first link is that I
need to
make a policy change somewhere - but I have no idea what or where.
Any insights much appreciated!
Rene