Dynamically extract xsl files from template (Java) - InfoPath Dev
in

InfoPath Dev

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: Previous Next
  • 01-11-2008 07:57 AM

    Dynamically extract xsl files from template (Java)

    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

  • 01-11-2008 09:17 AM In reply to

    Re: Dynamically extract xsl files from template (Java)

    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 Architect
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 01-14-2008 12:28 AM In reply to

    Re: Dynamically extract xsl files from template (Java)

    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.