Click here to Skip to main content
15,895,370 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Formating XML Pin
nickiii25-Feb-08 9:00
nickiii25-Feb-08 9:00 
GeneralXML to HTML Conversion in .Net Pin
honeyss24-Feb-08 18:37
honeyss24-Feb-08 18:37 
GeneralRe: XML to HTML Conversion in .Net Pin
led mike25-Feb-08 8:15
led mike25-Feb-08 8:15 
QuestionHow do we hide public properties when using a XMLweb service? Pin
pubududilena22-Feb-08 23:28
pubududilena22-Feb-08 23:28 
QuestionHow to decode from XML file..... Pin
Soundari22-Feb-08 18:27
Soundari22-Feb-08 18:27 
QuestionRDLC (Report) using XSD Dataset Pin
Jaydev Jangid22-Feb-08 1:56
Jaydev Jangid22-Feb-08 1:56 
QuestionCan I use the index on XSL to get the record Pin
vanhawk19-Feb-08 17:10
vanhawk19-Feb-08 17:10 
GeneralFirefox & XML Pin
Bassam Abdul-Baki18-Feb-08 7:03
professionalBassam Abdul-Baki18-Feb-08 7:03 
I have an HTML file that loads an XML and XSL. If I open the file locally, it works. If I open it remotely, it fails. It works in IE both ways. My folder structure is like this.

FILE.HTML
./includes/css/FILE.css
./includes/js/FILE.js
./includes/xml/FILE.xml --- (XML_file_name) ---
./includes/xsl/FILE.xsl --- (XSL_file_name) ---

Here's the FF part of the code.


// For Firefox.
else if (document.implementation && document.implementation.createDocument)
{
// Load XSL.
var processor = new XSLTProcessor();
var xslt = document.implementation.createDocument("", "", null);
xslt.async = false;
xslt.load(XSL_file_name);
processor.importStylesheet(xslt);

// Load XML.
var src_doc = document.implementation.createDocument("","", null);
src_doc.async = false;
src_doc.load(XML_file_name);
var result = processor.transformToDocument(src_doc);

// Transform.
var xmls = new XMLSerializer();
output = xmls.serializeToString(result);
}


Anyone knows why this won't work? Do all my XML and XSL have to be in the same path?

Thanks!



"I know which side I want to win regardless of how many wrongs they have to commit to achieve it." - Stan Shannon

Web - Blog - RSS - Math - LinkedIn - BM

QuestionHow to get the exact node info - XML parsing question Pin
Joe_P18-Feb-08 5:53
Joe_P18-Feb-08 5:53 
AnswerRe: How to get the exact node info - XML parsing question Pin
N a v a n e e t h18-Feb-08 19:23
N a v a n e e t h18-Feb-08 19:23 
GeneralGetting maximum id Pin
N a v a n e e t h14-Feb-08 23:44
N a v a n e e t h14-Feb-08 23:44 
GeneralRe: Getting maximum id Pin
led mike15-Feb-08 4:36
led mike15-Feb-08 4:36 
GeneralRe: Getting maximum id Pin
N a v a n e e t h15-Feb-08 18:05
N a v a n e e t h15-Feb-08 18:05 
GeneralRe: Getting maximum id Pin
led mike19-Feb-08 10:00
led mike19-Feb-08 10:00 
GeneralRe: Getting maximum id Pin
henningbenk16-Feb-08 2:30
professionalhenningbenk16-Feb-08 2:30 
QuestionXML Schema to XML File Pin
That's Aragon14-Feb-08 18:19
That's Aragon14-Feb-08 18:19 
GeneralRe: XML Schema to XML File Pin
led mike15-Feb-08 4:39
led mike15-Feb-08 4:39 
GeneralRe: XML Schema to XML File Pin
That's Aragon17-Feb-08 17:52
That's Aragon17-Feb-08 17:52 
QuestionDataSet to XML & from XML to Databse Pin
LAYEEQ AHMED KHAN13-Feb-08 19:04
LAYEEQ AHMED KHAN13-Feb-08 19:04 
GeneralRe: DataSet to XML & from XML to Databse Pin
led mike14-Feb-08 5:28
led mike14-Feb-08 5:28 
GeneralRe: DataSet to XML & from XML to Databse Pin
#realJSOP15-Feb-08 5:17
mve#realJSOP15-Feb-08 5:17 
GeneralAssistance Required Pin
rajanponnalagu13-Feb-08 6:20
rajanponnalagu13-Feb-08 6:20 
GeneralHas Anyone ever worked on Veda Advantage? Need Some help. Pin
Gandalf_TheWhite11-Feb-08 19:45
professionalGandalf_TheWhite11-Feb-08 19:45 
GeneralRe: Has Anyone ever worked on Veda Advantage? Need Some help. Pin
led mike12-Feb-08 5:07
led mike12-Feb-08 5:07 
GeneralRe: Has Anyone ever worked on Veda Advantage? Need Some help. Pin
Gandalf_TheWhite12-Feb-08 18:34
professionalGandalf_TheWhite12-Feb-08 18:34 

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.