W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2006

XML-FO with xforms to PDF

From: Byrne, David J. <david.byrne@capgemini.com>
Date: Wed, 1 Mar 2006 17:08:18 -0500
Message-ID: <DFBC36ABF5200A4CA3315B88D790C71E01355204@caonmastxm03.na.capgemini.com>
To: <www-xsl-fo@w3.org>

I'm trying to create a fo file that uses xforms but can't seem to get it
to work or find out why it won't work.



My fo file:



<?xml version="1.0" encoding="ISO-8859-1" ?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"

             xmlns:xfm="http://www.w3.org/2000/12/xforms">

<fo:layout-master-set>

<fo:simple-page-master master-name="right"

            margin-top="75pt" margin-bottom="25pt" margin-left="100pt"
margin-right="50pt">

            <fo:region-body margin-bottom="50pt"/>

            <fo:region-after extent="25pt"/>

</fo:simple-page-master>

<fo:page-sequence-master master-name="psmOddEven" >

            <fo:repeatable-page-master-alternatives>

                        <fo:conditional-page-master-reference
master-name="right"

                                    page-position="first" />

            </fo:repeatable-page-master-alternatives>

</fo:page-sequence-master>



</fo:layout-master-set>



<fo:instream-foreign-object>

                        <xfm:submit name="Submit">

                                    <xfm:label>Submit</xfm:label>

                        </xfm:submit>

</fo:instream-foreign-object>



When I run this fo file through Apache FOP I get an unsupported element
error message.



When I run this fo file through document server's altercast I get
unknown namespace http://www.w3.org/2000/12/xforms



I've tried using http://www.w3.org/2002/xforms as well as any other
xforms namespace I try - is this just unsupported?



If so - what is another way I can generate a pdf document that can have
buttons (I ultimately need to incorporate javascript)

           

__________________________________________________________________
David Byrne / Capgemini / New York
Consultant / Advanced Development & Integration - MS Solutions
Office: + 1 9179348980 / Mobile: +1 6462833468 / AIM: dbyrne0903
www.capgemini.com
<file:///C:\Documents%20and%20Settings\DBYRNElocal\Application%20Data\Mi
crosoft\Signatures\www.capgemini.com>

Join the Collaborative Business Experience
__________________________________________________________________





This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.
Received on Thursday, 2 March 2006 06:51:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT