[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Creating HTML FORM with DataChannel parser.
At 07:42 AM 5/5/1999 -0700, Olivier MATHIEU wrote: ... >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> Try this as the template for the Client element: <xslt:template match="Client"> <FORM> <INPUT VALUE="{./NAME}"> <INPUT/> </FORM> </xslt:template> (Caveat: Haven't tested this -- away from my "XSL workplace" at the moment.) ============================================================= John E. Simpson | It's no disgrace t'be poor, simpson@xxxxxxxxxxx | but it might as well be. | -- "Kin" Hubbard XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|