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

XML / XSL

 
GeneralRe: Contains Function!!! Please Help me (XPath) Pin
led mike1-Apr-08 4:51
led mike1-Apr-08 4:51 
GeneralSchema Namespaces Pin
GraemeYeo28-Mar-08 7:49
GraemeYeo28-Mar-08 7:49 
QuestionDetermine elements according to attributes Pin
goutsi27-Mar-08 6:24
goutsi27-Mar-08 6:24 
QuestionCreating a XML and XSD for data storage. Starting with empty xml Pin
steve_rm24-Mar-08 23:32
steve_rm24-Mar-08 23:32 
Questionload xml+xsl in html Pin
Member 466072419-Mar-08 21:12
Member 466072419-Mar-08 21:12 
GeneralRe: load xml+xsl in html Pin
led mike20-Mar-08 4:47
led mike20-Mar-08 4:47 
GeneralRe: load xml+xsl in html Pin
Aurelius166420-Mar-08 5:25
Aurelius166420-Mar-08 5:25 
GeneralRe: load xml+xsl in html Pin
Member 466072423-Mar-08 22:16
Member 466072423-Mar-08 22:16 
Hi,
the problem of loading xml+xsl is solved for mozilla.the problem was i ddin't know mozilla doesn't support external dtd.it works fine for internal dtd.But IE cannot load either external or internal.i used several alerts in several position.all are showed in output.but the transformed xml page does not show.



function loadXMLDoc(fname)
{
var xmlDoc;
// code for IE
if (window.ActiveXObject)
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
alert("LoadXML");
}
// code for Mozilla, Firefox, Opera, etc.
else if (document.implementation
&& document.implementation.createDocument)
{
xmlDoc=document.implementation.createDocument("","",null);
}
else
{
alert('Your browser cannot handle this script');
}
xmlDoc.async=false;
xmlDoc.load(fname);
return(xmlDoc);
}
function displayResult()
{
xml=loadXMLDoc("Book2006_Overview.xml");
xsl=loadXMLDoc("Book2006_manee.xsl");
// code for IE
if (window.ActiveXObject)
{
ex=xml.transformNode(xsl);
document.getElementById("example").innerHTML=ex;
alert("after innerHTML");
alert(ex);
}
// code for Mozilla, Firefox, Opera, etc.
else if (document.implementation
&& document.implementation.createDocument)
{
xsltProcessor=new XSLTProcessor();
xsltProcessor.importStylesheet(xsl);
resultDocument = xsltProcessor.transformToFragment(xml,document);
document.getElementById("example").appendChild(resultDocument);
}
}







QuestionCombine several xml schemata in a single file? Pin
maki.stud17-Mar-08 3:59
maki.stud17-Mar-08 3:59 
Questionhow to code some sql properties in xsd? [modified] Pin
khinezw17-Mar-08 3:08
khinezw17-Mar-08 3:08 
QuestionHow to XSL this XML file? Pin
ASCIIyhr16-Mar-08 10:07
ASCIIyhr16-Mar-08 10:07 
Generalsetting XML Schema Restriction Pin
laziale14-Mar-08 4:11
laziale14-Mar-08 4:11 
AnswerRe: setting XML Schema Restriction Pin
buchstaben15-Mar-08 6:05
buchstaben15-Mar-08 6:05 
GeneralRe: setting XML Schema Restriction Pin
laziale15-Mar-08 6:16
laziale15-Mar-08 6:16 
QuestionCombining XmlNodeList with another? Pin
Peter Nap11-Mar-08 23:37
Peter Nap11-Mar-08 23:37 
GeneralRe: Combining XmlNodeList with another? Pin
led mike13-Mar-08 4:30
led mike13-Mar-08 4:30 
Questionxml file bind into data grib view from window in C# Pin
thanhtikezaw11-Mar-08 0:24
thanhtikezaw11-Mar-08 0:24 
Generalcross post (ignore) Pin
led mike11-Mar-08 6:00
led mike11-Mar-08 6:00 
Questionhow do i Deserialize a xml docuement that contains reserve char in .net 1.1 Pin
abstar10-Mar-08 13:01
abstar10-Mar-08 13:01 
GeneralRe: how do i Deserialize a xml docuement that contains reserve char in .net 1.1 Pin
led mike11-Mar-08 5:56
led mike11-Mar-08 5:56 
GeneralGetting Crazy with Excel XML File Creation Pin
Bodo van Laak7-Mar-08 5:48
Bodo van Laak7-Mar-08 5:48 
GeneralRe: Getting Crazy with Excel XML File Creation Pin
Bodo van Laak8-Mar-08 6:06
Bodo van Laak8-Mar-08 6:06 
GeneralHelp embed function in xslt Pin
GISBingBing4-Mar-08 21:21
professionalGISBingBing4-Mar-08 21:21 
QuestionCan I protect Xml file with password? Pin
phowarso4-Mar-08 6:08
phowarso4-Mar-08 6:08 
AnswerRe: Can I protect Xml file with password? Pin
led mike5-Mar-08 5:12
led mike5-Mar-08 5:12 

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.