[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: output method="xhtml" in 2.0
Thank you, I ran it in the command line and found the error XTSE1570: method must be xml, html, xhtml, or text, or a prefixed name I was inadvertently using method="xhtm" rather than "xhtml" which caused the failure. I thought this was an XSLT based error which caused me to post here. I will move to a saxon-help since I was unable to find any documentation on how to use the implemention.GetErrorListner. Rick -----Original Message----- From: Michael Kay [mailto:mike@xxxxxxxxxxxx] Sent: Tuesday, November 21, 2006 6:31 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: output method="xhtml" in 2.0 This isn't the error message, this is a statement that an error message has been sent to your chosen error destination. You need to make sure that you are outputting the error messages from the compiler to somewhere where you can see them. Failing that, try compiling the stylesheet from the command line. Michael Kay http://www.saxonica.com/ P.S. This isn't really the right list for a question that is very specific to Saxon. There's a saxon-help list at sourceforge.net for the purpose. > > Stack trace > > at net.sf.saxon.PreparedStylesheet.prepare(Source styleSource) > at net.sf.saxon.TransformerFactoryImpl.newTemplates(Source > source, CompilerInfo info) > at Saxon.Api.XsltCompiler.Compile(Uri uri) > at RGMonthly.DoSaxonTransform(XmlNode xmlDoc, String > xslDoc) in C:\temp\PrimaveraWeb\RGMonthly.aspx.vb:line 116 > > When I run my ASP.Net application with <xsl:output > method="xml"... no problem. > > When I run with <xsl:output method="xhtml"... I get the error above. > > Do I need to set something in the processor.Implementation? > > Rick > > <?xml version="1.0" encoding="UTF-8"?> > <xsl:stylesheet version="2.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:fn="http://www.w3.org/2005/xpath-functions" > xmlns:xhtml="http://www.w3.org/1999/xhtml"> > <xsl:output method="xml" media-type="application/xhtml+xml" > doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" > doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transit > ional.dtd" > exclude-result-prefixes="xs fn" omit-xml-declaration="yes" > encoding="iso-8859-1"/>
|
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
|