[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

DOM Transform ?

  • From: sunker@t...
  • To: "'xml-mailinglist'" <xml-dev@i...>
  • Date: Mon, 1 Nov 1999 16:03:37 +0700

dom transform
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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.