[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] saxon:omit-meta-tag attribute being ignored
Hi: I am having difficulty getting the omit-meta-tag extension attribute from the Saxon processor to be honored. I am using the following version of Saxon: Vendor: SAXON 7.6.5 from Michael Kay Vendor URL: http://saxon.sf.net/ I have also tested with Saxon 6.5.2, with the same results. In both cases, the output contains a meta tag. Here is my input document: <html> <head> <title>Test</title> </head> Content </html> And my stylesheet: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://saxon.sf.net/" extension-element-prefixes="saxon" version="1.0" > <xsl:output method="html" saxon:omit-meta-tag="yes"/> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet> I invoke the saxon processor as follows: java -classpath ~/lib/saxon7.jar:${CLASSPATH} net.sf.saxon.Transform test.xml simple.xsl The output is: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Test</title> </head> Content </html> Any help would be greatly appreciated! Ryan Ryan McFall Dept. of Computer Science Hope College Holland, MI 49423 email: mcfall@xxxxxxxx Phone: (616) 395-7952 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
|