Dynamically extract xsl files from template (Java) - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » Dynamically extract xsl files from template (Java) Use our Google Custom Search for best site search results. Dynamically extract xsl files from template (Java) Last post 01-14-2008 12:28 AM by Aurélien. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 01-11-2008 07:57 AM Aurélien Joined on 01-11-2008 Posts 13 Dynamically extract xsl files from template (Java) Reply Contact Hi, I'd like to be able to extract the XSLT files from my XSN from Java, for example in order to send them and be able to read them without Infopath installed on the client's machine, is this possible ? Thanks Filed under: custom xsl, infopath, Open XSN 01-11-2008 09:17 AM In reply to davidair Joined on 01-15-2007 Canada Posts 282 Re: Dynamically extract xsl files from template (Java) Mark as Not AnswerMark as Answer... Reply Contact An XSN file is simply a CAB file. I am not sure if there are APIs in Java to directly extract from those programmatically. Microsoft distributes the Cabinet SDK (http://support.microsoft.com/kb/310618) which contains command-line utilities such as Extract.exe which you can execute from your Java code. Alternatively you can try to write a Java wrapper around cabinet.dll but this would be much harder unless you can find something ready for consumption. David Airapetyan / Software Services ArchitectQdabra® Software / Streamline data gathering to turn process into knowledge 01-14-2008 12:28 AM In reply to Aurélien Joined on 01-11-2008 Posts 13 Re: Dynamically extract xsl files from template (Java) Mark as Not AnswerMark as Answer... Reply Contact thanks a lot i'll try executing extract.exe from my Java code Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Use our Google Custom Search for best site search results.
Hi,
I'd like to be able to extract the XSLT files from my XSN from Java, for example in order to send them and be able to read them without Infopath installed on the client's machine, is this possible ?
Thanks
An XSN file is simply a CAB file. I am not sure if there are APIs in Java to directly extract from those programmatically.
Microsoft distributes the Cabinet SDK (http://support.microsoft.com/kb/310618) which contains command-line utilities such as Extract.exe which you can execute from your Java code. Alternatively you can try to write a Java wrapper around cabinet.dll but this would be much harder unless you can find something ready for consumption.
thanks a lot
i'll try executing extract.exe from my Java code