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

saxon:omit-meta-tag attribute being ignored

Subject: saxon:omit-meta-tag attribute being ignored
From: "Ryan McFall" <mcfall@xxxxxxxx>
Date: Thu, 24 Jul 2003 12:42:48 -0400
omit meta tag
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


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.