Click here to Skip to main content
15,890,506 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: Can we lock just a single table in xml file?? Pin
led mike2-Apr-08 4:42
led mike2-Apr-08 4:42 
AnswerRe: Can we lock just a single table in xml file?? Pin
Dave Kreskowiak2-Apr-08 4:46
mveDave Kreskowiak2-Apr-08 4:46 
QuestionContains Function!!! Please Help me (XPath) Pin
Masterhame31-Mar-08 8:07
Masterhame31-Mar-08 8:07 
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 
i have loaded xml+xsl in html. but it only works for simple xml and xsl.when i have a large xml and slightly cmplex xsl and have dtd the code dosen't work.
here is the code for loading::


<title>

function loadXMLDoc(fname)
{
var xmlDoc;
// code for IE
if (window.ActiveXObject)
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
}
// 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()
{
///////////////LOAD XML & XSL/////////////////
xml=loadXMLDoc("Book2006_Overview.xml");
xsl=loadXMLDoc("book2006.xsl");

// code for IE
if (window.ActiveXObject)
{
ex=xml.transformNode(xsl);
document.getElementById("example").innerHTML=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);
}
}










can anyone send me the code works for all xml and xsl pls?
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 
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 

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.