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

RE: A problem with [embedded templates???]

Subject: RE: A problem with [embedded templates???]
From: "Hunter, David" <dhunter@xxxxxxxxxxxx>
Date: Mon, 4 Oct 1999 15:56:21 -0400
embedded templates
From: Mike Brown [mailto:mbrown@xxxxxxxxxxxxx]
Sent: Monday, October 04, 1999 3:10 PM
> 
> Because you said you are using MSXSL, you need to add some 
> default templates
> required by the current spec before David Carlisle's 
> templates will work:
> 
> <!-- default template for root or element node -->
> <xsl:template><xsl:apply-templates/></xsl:template>
> 
> <!-- default template for text or attribute node -->
> <xsl:template match="text()|@*"><xsl:value-of/></xsl:template>

Aha!  I was just perusing the previous link to Microsoft's documentation of
the default templates sent by John Dreystadt, and was getting an error
because they don't work as written.  But now that I have *these* two
templates, I'm off to the races, and it works beautifully.

Thanks again, everyone!


 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.