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

XSLT templates for HTML/XHTML elements

Subject: XSLT templates for HTML/XHTML elements
From: "Andrew Mottershead" <andrew@xxxxxxxxxxxxxxxx>
Date: Wed, 27 Feb 2002 16:51:00 -0000
xslt html xhtml
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,'&amp;Nextstep=Tweb.',$Nextst
ep,'&amp;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

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.