Click here to Skip to main content
15,890,882 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XML file and Database Pin
raginisingh24-Apr-08 22:03
raginisingh24-Apr-08 22:03 
GeneralXml Attibute in C# Pin
manustone21-Apr-08 23:59
manustone21-Apr-08 23:59 
Generalwrite xml root element attribute string in .net(C#). Pin
r aa j20-Apr-08 23:26
r aa j20-Apr-08 23:26 
Question.NET: Skipping a unvalid XML node? Pin
Tony Pottier17-Apr-08 13:08
Tony Pottier17-Apr-08 13:08 
Generalgetting xml values in to c#.net Pin
Prabakar17-Apr-08 4:15
Prabakar17-Apr-08 4:15 
GeneralRe: getting xml values in to c#.net Pin
led mike17-Apr-08 4:43
led mike17-Apr-08 4:43 
GeneralXSD to corresponding Table Structure(Dojo Grid) Pin
ZServer17-Apr-08 3:48
ZServer17-Apr-08 3:48 
GeneralDisplaying WordML from XSLT in browser Pin
berghain16-Apr-08 23:37
berghain16-Apr-08 23:37 
Hi,

I am trying to construct a WordML document client-side in Javascript, from an XML file containing my data (obviously) and a XSLT file on the server. My code is below. How do I 'send' the generated WordML document to the browser so that it can be opened in Word?

Thanks in advance, Chris

var xslt = new ActiveXObject("Msxml2.XSLTemplate." + IA_getMSXMLVersionNumber());
var xsldoc = new ActiveXObject("Msxml2.FreeThreadedDOMDocument." + IA_getMSXMLVersionNumber());
		
var xslproc;
xsldoc.async = false;
xsldoc.load(XSL_URL + "/InstReport.xslt");
if (xsldoc.parseError.errorCode != 0)
{
	var myErr = xsldoc.parseError;
	alert("Error loading XSL: " + myErr.reason);
}
else
{
        var xmlDoc;
        xslt.stylesheet = xsldoc;
	xslproc = xslt.createProcessor();
	xslproc.input = xmlDoc;
	xslproc.transform();
        //WScript.Echo(xslproc.output);
}


I should say that it errors whenever I reference xslproc.output
QuestionXML Parse - performance Pin
mpavas16-Apr-08 0:25
mpavas16-Apr-08 0:25 
AnswerRe: XML Parse - performance Pin
led mike16-Apr-08 4:52
led mike16-Apr-08 4:52 
GeneralRe: XML Parse - performance Pin
mpavas16-Apr-08 5:01
mpavas16-Apr-08 5:01 
QuestionError : msxml3.dll (0x80072F0C) A certificate is required to complete client authentication Pin
malarpm16-Apr-08 0:06
malarpm16-Apr-08 0:06 
GeneralMathML Pin
Hariharan210515-Apr-08 21:51
Hariharan210515-Apr-08 21:51 
QuestionHow do I import mulitiple XML files into Microsoft Excel in one shot? Pin
Mike A. Fowler15-Apr-08 4:45
Mike A. Fowler15-Apr-08 4:45 
QuestionDoes anyone know how to access entities from an embedded tag? Pin
Mike A. Fowler14-Apr-08 6:09
Mike A. Fowler14-Apr-08 6:09 
AnswerRe: Does anyone know how to access entities from an embedded tag? Pin
Mark J. Miller14-Apr-08 8:58
Mark J. Miller14-Apr-08 8:58 
Questionc# XMLNODE SelectNodes Pin
mpavas13-Apr-08 21:36
mpavas13-Apr-08 21:36 
GeneralRe: c# XMLNODE SelectNodes Pin
N a v a n e e t h13-Apr-08 23:02
N a v a n e e t h13-Apr-08 23:02 
GeneralRe: c# XMLNODE SelectNodes Pin
mpavas13-Apr-08 23:17
mpavas13-Apr-08 23:17 
GeneralRe: c# XMLNODE SelectNodes Pin
N a v a n e e t h14-Apr-08 1:50
N a v a n e e t h14-Apr-08 1:50 
GeneralRe: c# XMLNODE SelectNodes Pin
Christian Graus13-Apr-08 23:58
protectorChristian Graus13-Apr-08 23:58 
QuestionRe: c# XMLNODE SelectNodes Pin
mpavas14-Apr-08 0:10
mpavas14-Apr-08 0:10 
GeneralRe: c# XMLNODE SelectNodes Pin
Christian Graus14-Apr-08 0:20
protectorChristian Graus14-Apr-08 0:20 
GeneralRe: c# XMLNODE SelectNodes Pin
mpavas14-Apr-08 0:41
mpavas14-Apr-08 0:41 
QuestionDoes anyone know how to take a XML file and store it into a C++ structure? Pin
Mike A. Fowler12-Apr-08 6:45
Mike A. Fowler12-Apr-08 6:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.