[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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

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