Click here to Skip to main content
15,894,955 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionProblem with MSXML6 + namespace + XPath Pin
Patrice Espie18-Feb-10 4:57
Patrice Espie18-Feb-10 4:57 
AnswerRe: Problem with MSXML6 + namespace + XPath Pin
Stuart Dootson23-Feb-10 0:10
professionalStuart Dootson23-Feb-10 0:10 
QuestionProblem with loading a xml to DataSet Pin
alireza_shokoie15-Feb-10 23:42
alireza_shokoie15-Feb-10 23:42 
AnswerRe: Problem with loading a xml to DataSet Pin
daveyerwin18-Feb-10 2:51
daveyerwin18-Feb-10 2:51 
QuestionXSL help Pin
Member 39976067-Feb-10 0:13
Member 39976067-Feb-10 0:13 
AnswerRe: XSL help Pin
Stuart Dootson7-Feb-10 1:09
professionalStuart Dootson7-Feb-10 1:09 
QuestionUsing MSXML2.ServerXMLHTTP.4.0 and ASP Pin
tommywick656-Feb-10 4:49
tommywick656-Feb-10 4:49 
QuestionXSL import another XSL on Client-Side. Pin
yeob4-Feb-10 20:22
yeob4-Feb-10 20:22 
I try XSL Transfrom on client-side using javascript. My XSL file has a import tag in itself, but it couln't find the another XSL file. I have to excute this transform on Client-Side for
some reason. How can I put the import href content
Here goes my test code. this page written with .NET

Javascript code on the webpage.
function Transform() {
var xsl = new ActiveXObject("MSXML.DOMDocument");
var xml = new ActiveXObject("MSXML.DOMDocument");
xsl.async = false;
xsl.load(dataXmlPath);
xsl.async = false;
xsl.load(styleXslPath);

var data = xml.transformNode(xsl);
}

number.xml (XML Data file)-----------------------
<?xml version='1.0'?>
<data>
<circle>
<radius>12</radius>
</circle>
<circle>
<radius>37.5</radius>
</circle>
</data>


calc.xsl (XSL Style file)------------------------
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="calc2.xsl"/>
</xsl:stylesheet>


calc2.xsl (XSL import file)------------------------
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="data">
<circles>
<xsl:for-each select="circle">
<circle>
<xsl:copy-of select="node()"/>
<circumference>
<xsl:value-of select="radius"/>
</circumference>
</circle>
</xsl:for-each>
</circles>
</xsl:template>
</xsl:stylesheet>
AnswerRe: XSL import another XSL on Client-Side. Pin
daveyerwin5-Feb-10 4:19
daveyerwin5-Feb-10 4:19 
GeneralRe: XSL import another XSL on Client-Side. Pin
yeob7-Feb-10 19:04
yeob7-Feb-10 19:04 
GeneralRe: XSL import another XSL on Client-Side. Pin
daveyerwin8-Feb-10 3:39
daveyerwin8-Feb-10 3:39 
AnswerRe: Newbie question - can't figure out xsl Pin
Not Active4-Feb-10 6:54
mentorNot Active4-Feb-10 6:54 
AnswerRe: Newbie question - can't figure out xsl Pin
Richard MacCutchan4-Feb-10 6:57
mveRichard MacCutchan4-Feb-10 6:57 
QuestionSAOP Question Pin
cmpemikail1-Feb-10 23:38
cmpemikail1-Feb-10 23:38 
AnswerRe: SAOP Question Pin
SeMartens2-Feb-10 20:27
SeMartens2-Feb-10 20:27 
GeneralImporting COM dll from unix Pin
tom groezer1-Feb-10 0:42
tom groezer1-Feb-10 0:42 
GeneralRe: Importing COM dll from unix Pin
Stuart Dootson1-Feb-10 3:03
professionalStuart Dootson1-Feb-10 3:03 
GeneralRe: Importing COM dll from unix Pin
tom groezer2-Feb-10 2:04
tom groezer2-Feb-10 2:04 
GeneralRe: Importing COM dll from unix Pin
Stuart Dootson2-Feb-10 2:39
professionalStuart Dootson2-Feb-10 2:39 
GeneralRe: Importing COM dll from unix Pin
tom groezer7-Feb-10 18:57
tom groezer7-Feb-10 18:57 
GeneralRe: Importing COM dll from unix Pin
Stuart Dootson7-Feb-10 20:15
professionalStuart Dootson7-Feb-10 20:15 
QuestionXML Database Pin
KORCARI29-Jan-10 3:41
KORCARI29-Jan-10 3:41 
AnswerRe: XML Database Pin
Dan Mos29-Jan-10 4:48
Dan Mos29-Jan-10 4:48 
AnswerRe: XML Database Pin
Stuart Dootson1-Feb-10 3:05
professionalStuart Dootson1-Feb-10 3:05 
Questionparsing problem Pin
trioum27-Jan-10 23:38
trioum27-Jan-10 23:38 

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.