Subject: Re: -xsl:stylesheet xmlns:xsl.................- another question From: Cliodhna Mc Guirk <cliodhna@xxxxxx> Date: Thu, 05 Aug 1999 17:59:02 +0100 |
> Not exactly - it does nothing meaningful in terms of parsing. But if > you get it wrong, it might result in your document not being parsed. > Ok if this is the case then how does this work for XT? Is the java <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0" xmlns:date="http://www.jclark.com/xt/java/java.util.Date" xmlns="http://www.w3.org/TR/REC-html40" result-ns=""> <xsl:template match="/"> <html> <body > <h1>Date</h1> <xsl:if test="function-available('date:to-string') and function-available('date:new')"> <p><xsl:value-of select="date:to-string(date:new())"/></p> </xsl:if> </body> </html> </xsl:template> -- ============================================================================ ___ Dublin_______NUA: Internet Strategy & Development_________ New York_____ Tel: +353-1-676-8996 http://www.nua.ie/ Tel: + 212 358 1775 Fax: +353-1-283-9988 Fax: + 212 358 1760 Cliodhna Mc Guirk EMAIL: cliodhna@xxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: -xsl:stylesheet xmlns:xsl......, Mark Feblowitz | Thread | Wrapping XSL around XML tags of the, johng |
Beginner question with templates, Martin Rothschink, A | Date | Re: href and template, Dan Machak |
Month |