Subject: [xsl] XSLT templates for HTML/XHTML elements From: "Andrew Mottershead" <andrew@xxxxxxxxxxxxxxxx> Date: Wed, 27 Feb 2002 16:51:00 -0000 |
Hello there folks, Not wanting to re-invent the wheel I want to find out whether there is a resource somewhere with xslt snippits for the basic html/xhtml constructs? E.g. a hyperlink would be similar to: <xsl:template name="StandardLink"> <xsl:param name="Label"/> <xsl:param name="Linktext"/> <xsl:param name="Sessionid"/> <xsl:param name="Target"/> <a> <xsl:attribute name="Target"><xsl:value-of select="$Target"/></xsl:attribute> <xsl:attribute name="href"><xsl:value-of select="concat('default.asp?Label=',$Label,'&Nextstep=Tweb.',$Nextst ep,'&Sessionid=',$Sessionid,)"/></xsl:attribute> <xsl:value-of select="$Linktext"/> </xsl:template> I need similar for all the major form elements eg. checkbox, dropdown listbox, hidden field, submit button, you name it otherwise I've got a long night ahead of me creating them all from scratch. Any ideas? Also does anyone know of any wysiwyg xhtml editors shich allow for customisable wrappers? regards Andrew Mottershead Web Developer Mindstream email: andrew@xxxxxxxxxxxxxxxx tel: 01743 718198 web: www.mindstream.co.uk --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.325 / Virus Database: 182 - Release Date: 19/02/2002 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] does isNumber() exist?, Oliver Becker | Thread | Re: [xsl] XSLT templates for HTML/X, Robert Koberg |
Re: [xsl] Value-of, copy-of, Mike Ferrando | Date | Re: [xsl] Default rule for passing , Wendell Piez |
Month |