OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   DOM Transform ?

[ Lists Home | Date Index | Thread Index ]
  • From: sunker@telkom.net
  • To: "'xml-mailinglist'" <xml-dev@ic.ac.uk>
  • Date: Mon, 1 Nov 1999 16:03:37 +0700

Hi, All

I've some problem with Dom
(xml-f.TransfrormNodeToObject('xsl-f.xsl',Response)), When i include the DTD
or schema the xsl file couldnot parse the xml & xsl to HTML format. but when
i redirect from xml, the xsl work done, such as :

xml-f.xml
================
<?xml version='1.0'?>
<!DOCTYPE [
<!ENTITY tst "Test it">
]>
<?xml-stylesheet type="text/xsl" href="xsl-f.xsl"?>
<test>
  <testing>hello</testing>
  <testing>Pale</testing>
    <testing>&tst;</testing>
</test>

xsl-f.xsl
================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns="http://www.w3.org/TR/REC-html40" result-ns="layout">
   <xsl:template match="/">
      <HTML>
         <HEAD>
            <TITLE>Test</TITLE>
         </HEAD>
         <BODY>
           <xsl:apply-templates select="//testing"/>
         </BODY>
      </HTML>
   </xsl:template>
   <xsl:template match="testing">
        <xsl:value-of/>
        <BR/>
   </xsl:template>
</xsl:stylesheet>

---------
Please Help me with the DOM, Parsing XML + XSL -----> HTML (pure, using
Jscript)...

thanks,
http://www.geocities.com/researchtriangle/campus/7211

winmail.dat





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS