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

XSL-FO Doctype Problem

Subject: XSL-FO Doctype Problem
From: "Karl Stubsjoen" <kstubs@xxxxxxxxx>
Date: Sat, 26 Jan 2008 19:40:57 -0700
 XSL-FO Doctype Problem
My XSL-FO output is getting a doctype.  This is because the parent xsl
template declares a doctype, but I do not understand, if I have an
output of type xml at the fo template level, and I am matching on root
"/", shouldn't the doctype be snuffed?

Here is the top of the fo file, which breaks the fo to pdf generation:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE fo:root PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
- - - cut - - -


Here is what the top of my fo template looks like:

<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:wap="http://ade.az.gov/webapplicationtemplater"
    xmlns:fo="http://www.w3.org/1999/XSL/Transform"
				exclude-result-prefixes="xsl wap fo">

	<xsl:import href="../../../wap.codebase/documents.xsl/wap.xsl"/>
	
	<xsl:output method="xml" indent="yes" encoding="UTF-8"/>
	<xsl:template match="/">
		<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

			<!-- defines the layout master -->
			<fo:layout-master-set>

- - - cut - - -


Thanks for any help.  Oh, software specs:

C# .NET 2.0
ApacheFop.NET
J#
Latest Java Runtime

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.