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

RE: mixed implicit and explicit stylesheet - possible ?

Subject: RE: mixed implicit and explicit stylesheet - possible ?
From: "Simon Polz" <Simon.Polz@xxxxxxxxx>
Date: Mon, 7 Aug 2000 14:50:24 +0200
michael polz
ok - thanks for your input - i fear i lacked some experience - i will
use the root template match for my custom document and just include or
import the general templates for generic transformations - that's what i
was looking for

a general question: 

is there any material available on design patterns for xml/xslt ? kind
of what is available for object oriented problems (publisher -
subscriber)

thanks

simon

-----Original Message-----
From: Kay Michael [mailto:Michael.Kay@xxxxxxx]
Sent: Montag, 07. August 2000 11:14
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: RE: mixed implicit and explicit stylesheet - possible ?


> is it possible to mix implicit and explicit stylesheets ? 
> 
> i need something like:
> 
> <xsl:template match='Option[@Type="List"]'>
> <select>...</select>
> </xsl:template>
> 
> <html xmlns:xsl="...">
> ...
> 	<td><xsl:value-of select="Section/@Name"/></td>
> 	<td><xsl:apply-template select="Option"></td>
> </html>
> 
No, you need to wrap the <html> element within

<xsl:template match="/">
<html>
...
</html>
</xsl:template>

Mike Kay 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.