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

RE: Creating HTML FORM with DataChannel parser.

Subject: RE: Creating HTML FORM with DataChannel parser.
From: Rob Nichols <RobN@xxxxxxxxxxxxxxx>
Date: Wed, 5 May 1999 09:08:34 -0700
datacha
-----Original Message-----
From: Olivier MATHIEU [mailto:olivier_mathieu@xxxxxxxxx]
>
>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>


Hi Oliver,

basically, use of "{}" and the XSLT namespace are not implemented in the
current release of the DataChannel parser.  In the case of the XSLT
namespace, I think we released the XJParser a week or so before the XSLT
spec was posted.  We're fixing this and working on other improvements.

So in this case you'll need to build the attributes for <INPUT>:

<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">

  <xsl:template match="/">
    <HTML><BODY>
        <xsl:apply-templates />
    </BODY></HTML>
   </xsl:template>
<xsl:template match="CLIENT">
  <FORM>
  <INPUT>
	<xsl:attribute name="value"><xsl:value-of select="NAME"
/></xsl:attribute>	
  </INPUT>
  </FORM>
</xsl:template>
</xsl:stylesheet>

Rob Nichols
DataChannel Inc.
http://xdev.datachannel.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.