[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: mixed implicit and explicit stylesheet - possible ?
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
|
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
|