Click here to Skip to main content
15,905,912 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionTransform XML document Pin
sonukadole23-Mar-09 20:39
sonukadole23-Mar-09 20:39 
AnswerRe: Transform XML document [modified] Pin
George L. Jackson24-Mar-09 3:47
George L. Jackson24-Mar-09 3:47 
AnswerRe: Transform XML document Pin
logiclabz27-Mar-09 8:09
logiclabz27-Mar-09 8:09 
GeneralRe: Transform XML document Pin
George L. Jackson28-Mar-09 11:03
George L. Jackson28-Mar-09 11:03 
QuestionSerialize object with XSLT ref Pin
Ido22-Mar-09 22:20
Ido22-Mar-09 22:20 
AnswerThe Answer is: Pin
Ido22-Mar-09 23:06
Ido22-Mar-09 23:06 
QuestionAttribute centric XML file from SQL Server Pin
CrimeanTurtle200822-Mar-09 0:06
CrimeanTurtle200822-Mar-09 0:06 
AnswerRe: Attribute centric XML file from SQL Server Pin
led mike23-Mar-09 5:36
led mike23-Mar-09 5:36 
QuestionSQL 2 XML DB Pin
ahmedsamir21-Mar-09 6:47
ahmedsamir21-Mar-09 6:47 
AnswerRe: SQL 2 XML DB Pin
led mike23-Mar-09 5:38
led mike23-Mar-09 5:38 
QuestionXML parser selection Pin
mango_lier18-Mar-09 11:00
mango_lier18-Mar-09 11:00 
QuestionC# Help Read XML Settings Pin
Tiago Conceição17-Mar-09 12:23
Tiago Conceição17-Mar-09 12:23 
AnswerRe: C# Help Read XML Settings Pin
led mike18-Mar-09 5:25
led mike18-Mar-09 5:25 
Questionxml transformation Pin
sonukadole16-Mar-09 19:15
sonukadole16-Mar-09 19:15 
AnswerRe: xml transformation Pin
led mike17-Mar-09 4:33
led mike17-Mar-09 4:33 
QuestionSelect current value in for-each statement Pin
dataminers16-Mar-09 6:43
dataminers16-Mar-09 6:43 
AnswerRe: Select current value in for-each statement Pin
dataminers16-Mar-09 23:39
dataminers16-Mar-09 23:39 
QuestionValidating only part of XML Pin
rita_g15-Mar-09 23:07
rita_g15-Mar-09 23:07 
QuestionRe: Validating only part of XML Pin
led mike16-Mar-09 5:12
led mike16-Mar-09 5:12 
AnswerRe: Validating only part of XML Pin
rita_g16-Mar-09 5:13
rita_g16-Mar-09 5:13 
QuestionRe: Validating only part of XML Pin
led mike17-Mar-09 4:29
led mike17-Mar-09 4:29 
QuestionXML document transformation code for Mozilla, Safari, etc... Pin
rustyamigo13-Mar-09 8:45
rustyamigo13-Mar-09 8:45 
Hi, can anyone help with me this as I'm relatively new with XML programming. I have code that's running perfectly in IE 7 but I'm no able to run it in other browser say Mozilla Firefox 3.0. Could you please let me know the equivalent code for transformation of XML document. I have pasted the code I have used for IE 7. Please help!!!

Home.xsl:

<xsl:template match="root/HOMEPAGE" xmlns:xsl="#unknown">
TEST
</xsl:template>

Home.xml :
<root>
<homepage>
<detail></detail>
</homepage>
</root>

Here is the code which has been used for I.E I want an equivalent code for Mozilla etc
var objXMLHome = new ActiveXObject("Msxml2.DOMDocument");
objXMLHome.async = false;
objXMLHome.resolveExternals = false;
objXMLHome.setProperty("SelectionLanguage", "XPath")
objXMLHome.load("XML/Home.xml");

var objXSLHome = new ActiveXObject("Microsoft.XMLDOM")
objXSLHome.async = false
objXSLHome.load("XSL/Home.xsl");
document.all("divHEADER").innerHTML = objXMLHome.selectSingleNode("//HOMEPAGE").transformNode(objXSLHome.documentElement);
AnswerRe: XML document transformation code for Mozilla, Safari, etc... Pin
led mike16-Mar-09 4:56
led mike16-Mar-09 4:56 
QuestionDifferent color within the same node Pin
johncode2313-Mar-09 8:15
johncode2313-Mar-09 8:15 
AnswerRe: Different color within the same node Pin
johncode2313-Mar-09 8:44
johncode2313-Mar-09 8:44 

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.