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

Creating HTML FORM with DataChannel parser.

Subject: Creating HTML FORM with DataChannel parser.
From: Olivier MATHIEU <olivier_mathieu@xxxxxxxxx>
Date: Wed, 5 May 1999 07:42:50 -0700 (PDT)
olivier mathieu
I am using Data Channel XMl parser and the XMLtoHTML sample program.
I would like to create a HTML page with a FORM tag  
I want to set its VALUE attribute with a string I get in the XML file but I can't do it:
The xml file is typically:

<CLIENT>
 <NAME>olivier</NAME>
</CLIENT>


the xsl file is :

<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"
		xmlns:xslt="http://www.w3.org/TR/WD-xslt">				
  <xsl:template match="/">
    <HTML><BODY>
        <xslt:apply-templates />
    </BODY></HTML>
   </xsl:template>

<xslt:template match="Client">
  <FORM>
  <INPUT VALUE="{NAME}">
  <INPUT/>
  </FORM>
</xslt:template>

</xsl:stylesheet>


All I get is a form with "{NAME}" instead of "olivier".
If someone can help....

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.