Marian Aldenhövel wrote:
I have tried to do exactly the same based on your example. The data is prepared in the exact same way: The original PDF and a xml-fragment that has just the <datasets> element and its children.
But there must be something wrong with that data, because it works when I use the datasets.xml attached to this mail (see attached PDF). If you choose to use iText for form filling, I think we should cooperate in some way. For instance: your company buys an iText license, and iText Software Corp uses that money to develop more userfriendly XFA functionality. br, Bruno
n2.pdf
Description: Adobe PDF document
<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" ><xfa:data ><Claim ><FormData ><FormType /><CourtName /><ClaimNumber /><ClaimTitle /><CourtUsersEmail /><CourtUsersReferenceNumber /><CourtFeePaid /><CourtFeeDue /></FormData ><Parties ><Claimant ><Name >12345</Name ><Address >ABCD Street 1</Address ><Postcode >AB 1234</Postcode ><Country >United Kingdom</Country ><PhoneNumber /></Claimant ><Defendant ><Name /><Address /><Postcode /><Country /><PhoneNumber /><ReasonForServiceRestriction ><ReasonText /></ReasonForServiceRestriction ></Defendant ><ContactInfoClaimantSolicitor isLitigantInPerson="1" ><ClaimantSolicitor /><Title >Mister</Title ><Name >XYZ</Name ><Firm /><Address /><Postcode >34567</Postcode ><Country /><PhoneNumber /><Fax /><DXNumber /><YourReference /><Email >[email protected]</Email ></ContactInfoClaimantSolicitor ><ContactInfoDefendant ><Name /><Address /><Postcode /><Country /><PhoneNumber /></ContactInfoDefendant ></Parties ><ClaimDetails ><IssueDate /><ClaimValue /><SolicitorsCost /><CourtFee /><TotalAmount /><StatementofTruth ><ClaimantSolicitor /><FullNameCS /><SignedCS /><PostionHeldCS /></StatementofTruth ><BriefDetailsOfClaim /><RemedySought /><ParticularsOfClaim /></ClaimDetails ></Claim ></xfa:data ><dd:dataDescription xmlns:dd="http://ns.adobe.com/data-description/" dd:name="Claim" ><Claim ><FormData ><FormType /><CourtName /><ClaimNumber /><ClaimTitle /><CourtUsersEmail /><CourtUsersReferenceNumber /><CourtFeePaid /><CourtFeeDue /></FormData ><Parties ><Claimant dd:maxOccur="-1" ><dd:group ><Name /><Address /><Postcode /><Country /><PhoneNumber /></dd:group ></Claimant ><Defendant dd:maxOccur="-1" ><dd:group ><Name /><Address /><Postcode /><Country /><PhoneNumber /><ReasonForServiceRestriction ><ReasonText /><Judge dd:minOccur="0" dd:nullType="exclude" /><DateOfOrder dd:minOccur="0" dd:nullType="exclude" /></ReasonForServiceRestriction ></dd:group ></Defendant ><ContactInfoClaimantSolicitor dd:maxOccur="-1" isLitigantInPerson="" dd:reqAttrs="isLitigantInPerson" ><dd:group ><ClaimantSolicitor /><Title /><Name /><Firm /><Address /><Postcode /><Country /><PhoneNumber /><Fax /><DXNumber /><YourReference /><Email /></dd:group ></ContactInfoClaimantSolicitor ><ContactInfoDefendant dd:maxOccur="-1" ><Name /><Address /><Postcode /><Country /><PhoneNumber /></ContactInfoDefendant ></Parties ><ClaimDetails ><IssueDate /><ClaimValue /><SolicitorsCost /><CourtFee /><TotalAmount /><StatementofTruth ><ClaimantSolicitor /><FullNameCS /><SignedCS /><PostionHeldCS /></StatementofTruth ><BriefDetailsOfClaim /><RemedySought /><ParticularsOfClaim /></ClaimDetails ></Claim ></dd:dataDescription ></xfa:datasets >
------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
