It's  a binary release..and in party manager component I want to generate the
pdf for the party profile....
to achieve this I created one partyprof.fo.ftl inside the
webapp/partymgr/party and I used this file as part of a my own screen
defined in partyscreens.xml like bellow...

<widgets>
  <platform-specific>
    <xsl-fo><html-template
location="component://party/webapp/partymgr/party/partypdf.fo.ftl"></xsl-fo>
  </platform-specific>
</widgets>


and the code of the partyprof.fo.ftl is as follows...

<fo:table border-spacing="3pt">
       <fo:table-body>
           <fo:table-row>
               <fo:table-cell>
                   <fo:block>
                       God is Great   
                   </fo:block>
               </fo:table-cell>
           </fo:table-row>
       </fo:table-body>
 </fo:table>

the error for the above code is :

Unable to transform FO file: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: The prefix "fo" for element "fo:table" is not
bound

If I use the XML processing instruction like :"<?xml version="1.0"
encoding="utf-8"?>" on the top of the 
fo.ftl I am getting the error as

Unable to transform FO file: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.


This is actual task...please help me.....



BJ Freeman wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Need to know what steps you took to arrive at this problem.
> also the revision number of SVN checkout, or the binary release you are
> using.
> 
> sun_arb sent the following on 4/9/2009 1:43 PM:
>> Dear sir,
>> Thank You for suggesting me with proper information.Now I want to know
>> how
>> to create the PDF file from .fo.ftl file...
>> I tried this but I am getting the following error... 
>> 
>> 
>> The Following Errors Occurred:
>> 
>> Unable to transform FO file: javax.xml.transform.TransformerException:
>> org.xml.sax.SAXParseException: The processing instruction target matching
>> "[xX][mM][lL]" is not allowed.
>> 
>> 
>> please suggest me....
>> 
>> sun_arb wrote:
>>> Dear members,
>>> I am new to the OFBiz.I am learning OFBiz through docs of OFBiz.In that
>>> I
>>> didn't get the following things.
>>> 1.Difference between OFBiz developement version and binary release of
>>> ofbiz
>>> 2.What is SVN clint.what is the use of it.How to install it.
>>> 3. http://www.nabble.com/file/p22877092/OFBiz%2Bdataflow.jpg  
>>> I am not able to understand the above diagram properly....
>>> Please help me.... 
>>>
>> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFJ3mkPrP3NbaWWqE4RAgqQAJ9m4rjiZREIwi/GzEWaXdm6cJVyLwCdHGFl
> slWK+IScq2KpkqnaPcYz2vg=
> =jDP4
> -----END PGP SIGNATURE-----
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Difference-between-OFBiz-developement-version-and-binary-release-of-ofbiz-tp22877092p22980817.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to