Click here to Skip to main content
14,605,390 members
   

XML / XSL

 
QuestionProblem with MSXML6 + namespace + XPath Pin
Patrice Espie18-Feb-10 4:57
MemberPatrice 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
Memberalireza_shokoie15-Feb-10 23:42 
AnswerRe: Problem with loading a xml to DataSet Pin
daveyerwin18-Feb-10 2:51
Memberdaveyerwin18-Feb-10 2:51 
QuestionXSL help Pin
Member 39976067-Feb-10 0:13
MemberMember 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
Membertommywick656-Feb-10 4:49 
QuestionXSL import another XSL on Client-Side. Pin
yeob4-Feb-10 20:22
Memberyeob4-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
Memberdaveyerwin5-Feb-10 4:19 
GeneralRe: XSL import another XSL on Client-Side. Pin
yeob7-Feb-10 19:04
Memberyeob7-Feb-10 19:04 
GeneralRe: XSL import another XSL on Client-Side. Pin
daveyerwin8-Feb-10 3:39
Memberdaveyerwin8-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
Membercmpemikail1-Feb-10 23:38 
AnswerRe: SAOP Question Pin
SeMartens2-Feb-10 20:27
MemberSeMartens2-Feb-10 20:27 
GeneralImporting COM dll from unix Pin
tom groezer1-Feb-10 0:42
Membertom 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
Membertom 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
Membertom 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
MemberKORCARI29-Jan-10 3:41 
AnswerRe: XML Database Pin
Dan Mos29-Jan-10 4:48
MemberDan 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
Membertrioum27-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.