I was able to get my transformations to work thanks to this site but now I'm having a new problem. All of my files worked locally but when I moved them to the server the ones that use document() in the XSL to open another XML will not run. This is my file structure:
MAIN DIR: two dirs - league and dropbox (virtual dir)
league contains my .net and xsl files
dropbox is a virtual directory that contains all the XMLs
The only thing I'm seeing on this problem is using XmlResolver but I can't find out what I'm supposed to do with it. It says it should be the 4th parameter on my transform function?
My xsl (which works fine) opens the file like this:
MAIN DIR: two dirs - league and dropbox (virtual dir)
league contains my .net and xsl files
dropbox is a virtual directory that contains all the XMLs
The only thing I'm seeing on this problem is using XmlResolver but I can't find out what I'm supposed to do with it. It says it should be the 4th parameter on my transform function?
VB.NET:
transformer.Transform(Server.MapPath("../dropbox/league/TEAM_INFO.XML"), args, Response.OutputStream, New XmlUrlResolver())
My xsl (which works fine) opens the file like this:
VB.NET:
<xsl:variable name="xmlTeams" select="document('TEAM_INFO.XML')"/>