|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSLT templates for HTML/XHTML elements
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
|
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
|

Cart








