Click here to Skip to main content
15,887,596 members
Home / Discussions / XML / XSL
   

XML / XSL

 
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 
QuestionCan awebapplication has more than one web.config file Pin
Member 378441213-Mar-09 5:14
Member 378441213-Mar-09 5:14 
QuestionXml Pin
Member 378441213-Mar-09 0:00
Member 378441213-Mar-09 0:00 
AnswerRe: Xml Pin
led mike13-Mar-09 4:49
led mike13-Mar-09 4:49 
Questionhow to create an xml file during run time Pin
pavan ravipati12-Mar-09 18:50
pavan ravipati12-Mar-09 18:50 
QuestionRe: how to create an xml file during run time Pin
led mike13-Mar-09 4:47
led mike13-Mar-09 4:47 
QuestionDisplay dynamic content in a frame controlled by the tree created from XML in another frame [modified] Pin
allenzzzxd11-Mar-09 6:56
allenzzzxd11-Mar-09 6:56 
QuestionC# .Net on Threads Pin
Member 39168569-Mar-09 20:21
Member 39168569-Mar-09 20:21 
QuestionWeb based XML import help Pin
krieath6-Mar-09 19:36
krieath6-Mar-09 19:36 
AnswerRe: Web based XML import help Pin
led mike10-Mar-09 6:00
led mike10-Mar-09 6:00 
QuestionOutput to text file Pin
shortdog6-Mar-09 17:28
shortdog6-Mar-09 17:28 
AnswerRe: Output to text file Pin
led mike9-Mar-09 4:53
led mike9-Mar-09 4:53 
GeneralRe: Output to text file Pin
shortdog11-Mar-09 3:01
shortdog11-Mar-09 3:01 
Questionstring manipulation in xsl - concatinating Pin
Sree Raj5-Mar-09 14:25
Sree Raj5-Mar-09 14:25 
AnswerRe: string manipulation in xsl - concatinating Pin
led mike6-Mar-09 4:43
led mike6-Mar-09 4:43 

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.