Conversion of .xml, .java, .html etc files to pdf
Hi All,
I want to convert any file format to pdf while check-in any new file.
For that, I have used PDFConverter Component and InBoundRefinary.
Using this, I can able to convert *.doc, .dox, .xls, .xlsx, .txt* etc files to pdf.
But I want to convert any file whether it is *.java, .xml, .html* etc.
How can I do using the same configuration?
Is there any extra configuration needed to fulfill this ?
Please let me know.
Thanks & Regards,
Vishal Shah
The file formats wizard will help in defining which conversions are required for corresponding type of the file.
Content Server --> Administration --> Admin Applets --> Configurations manager --> Options --> File Formats..... -->
File Formats --> Add
Add a format 'application/java' with the appropriate Conversion available e.g. OutsideIn Technology
File Extensions --> Add
Add the extensions 'java' and select 'application/java' as the Map to Format
Note: You can avoid adding file format if you have a format defined earlier in File Formats.
Hope this helps,
Cheers
Aparna
Similar Messages
-
Conversion of XML tags in receiver file adapter
Hi All,
I am sending one xml file to receiver file adapter.
But in case of receiver side I need to change the tags in XML structure,
eg:
if source aml file has tag <NAME> then in receiver case I need to convert it to <FNAME>.
How will I achieve it?Hi
I also have the similar query
The output message we get from XI has following format
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:name xmlns:ns1="urn:xiworkshop:changetag">
</ns1:name>
I want an xml with following format
<?xml version="1.0" encoding="UTF-8" ?>
<name>
</name>
I need to write the file with with this structure and format using file adapter.
Can I do so in File adapter or mapping is required for the same?
Any suggestion would be highly appreciated(with points obviously )
Regards
Vanita thareja -
Conversion of XML into HTML string
Hi
I have xml mesaage in in the target message side and it needs to be converted as Html before sending to receiver,
Please let me know how can I convert the xml message which is on the target side to html
Thanks
PRYou may refer this for help
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
Regards,
Prateek -
Automatic conversion from XDP file fo PDF file
Hello!
I have an application that creates an XDP file with a certain report.
I can open the XDP file in Designer 7.0 and then save it as PDF, but I would like to know, how can I automatically produce PDF file from XDP file.
Is it possible?
Thanks for your answers,
BostjanHi All:
We have a similar requirement for our product.
We have existing XDP templates (for use with Form server), but we have a need for another Client using an older version of XML Forms - AcroForms (PDF Forms).
So, we need to convert these XML forms in XDP files into PDF Forms (AcroForms). We tried File->SaveAs (PDF Forms) from Adobe designer, but it looks like the hidden fields (in XDP files) get messed-up.
Did you guys find any solution for this? I would appreciate if you can share your experiences and insights in this regard.
Thanks
Shashi Velur -
Convert rtf, pdf or doc file to xml or html
I'm using RichTextEditor from Flex, but I need to
upload a .doc, .pdf or .rtf file into RichTextEditor. Or maybe a
way to convert these files to xml or html.... please can you help
me??Flex has no inherent functionality to do doc conversions. You
are also looking for the ability to convert several different file
types that might require seperate conversion methods. Also, it is
important to note that Flex does not have very good HTMl
functionality. In fact, it has a very limited subsed of HTML tags
that are allowable and also require some distinct formatting
requirements. So, if you are trying to convert PDF's and Docs, RTF
etc, you might have a difficult time trying to get them to diosplay
in the Flex RTE.
I have struggled with trying to get a good PDF converter for
multiple file types. Adobe does have some good server side
utilities, but budget might be an issue.
You can find several PDF converters that are server based
that you migth be able to leverage.
If you are CF user, Scorpio does have a better integration
with PDF and LiveCycle services that may help when it is released.
Good Luck.
AL -
i want to convert .pdf to xml or html so that i can make entries in the database.
any help>???there are a number of java libraries that can read PDF files. Once you can read them, you can convert them to xml/html/etc.
A good list of products can be found at
http://www.geocities.com/marcoschmidt.geo/java-libraries-pdf.html -
Problem in file content conversion from XML to CSV
Hi Experts,
I am finding problem in file content conversion. I need to convert the following XML file into CSV file:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_CROSS_REF xmlns:ns0="urn:dabur:idoc2file:pos">
<Update_type>2</Update_type>
<PLU>00000000</PLU>
<Cross_ref_PLU>7777777</Cross_ref_PLU>
<Capture_PLU />
<Package_size />
<Package_desc />
</ns0:MT_CROSS_REF>
The output file data has to be like:
2,00000000,7777777,,,,
The problem I am facing is while specifying the content conversion parameters in communication channel i dont know what recordset structure i should mention as all the records are directly under root. If I mention recordset structure as "ns0:MT_CROSS_REF" and parameters as
ns0:MT_CROSS_REF.fieldSeparator ,
ns0:MT_CROSS_REF.endSeparator 'nl'
i get error in communication channel monitoring and no file is posted.
Please help me as to what correct parameter i should mention in my case.
Thanks,
Regards,
YashHi Chirag,
I cannot change the xml file as it comes after mapping idoc to a message type. How can I add ROOT in the xml? My message type is like MT_CROSS_REF and it has those 6 fields as in the XML (Update_type, PLU etc.). I do the mapping of these fields from a IDOC and get the XML.
I hope you got my point.
Thanks,
Yash -
Using File Content Conversion converting XML format to text format
Hi All,
I am able to convert to Text format using file content conversion, But the requirement is to convert the same for the structure with additional subnodes as in the example (also complex nested structures)
<ns0:SendXSDEmployeeDetails xmlns:ns0="http://ehro.eds.com/FRAMEWORK/FileToFile/FileCConverion">
<Employee>
<Employee_ID>2</Employee_ID>
<Employee_Name>KannanKumar</Employee_Name>
<Address>
<Street>13th Cross Reddy</Street>
<City>Bangalore</City>
<Pincode>641026</Pincode>
<Phone_No>
<t1>9901934934</t1>
<t2>9901934934</t2>
</Phone_No>
</Address>
</Employee>
</ns0:SendXSDEmployeeDetails>
can any one help on this please
I have already seen the blogs :
/people/krishnakumar.ramamoorthy3/blog/2007/01/27/generic-mapping-to-convert-nested-xml-to-flat--receiver-file-adatper
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
<b>Can any one help to do this in simple way</b><br>Hi,
Like correctly pointed by JaiShankar, the Sender File Adapter currently does not supoort such stracutures.
the strcuture supported is described in this link,
http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards
Bhavesh -
I generate file (PDF, HTML, etc) the report is empty but I run in paper
Hi
I use oracle Report10g
When I generate file (PDF, HTML, etc) the report is empty but I run in paper design show data, the report in the paper design show many pages, when generate file show only the information of the margin in the main seccion and the body is empty,
ThanksThanks Daniel for pointing that out. Though you answer is helpful but I am not sure if that is what I would want to do.
The link you provide for csv says "For each report there's an _report.xdo file that contains the XML structure of the report... " It suggests I modify the .xdo file for each report. I currently have 16 reports.
Does it mean I modify the .xdo file for all 16 and what happens if someone creates a 17th report ?
Also, what if I run the same report using different input parameters will that change the xml structure for the report and therefore will need me to modify the .xdo again ? (I think it should not change the xml structure so the answer should be "NO" to that, unless I change the structure of the report).
Finally, the link you provide says after doing what it suggest "Now log back into BI publisher and select the report. You should now be able to see that CSV is now an option."
CSV should be an option where ? on what screen/page ? Maybe PDF is already an option for me that I cant see because I do not know where that option is.
I was hoping there would be something I could do on the xdo_metadata sheet (in the data constraints section or elsewhere) OR in BI Publisher itself as some property of the report.
I will try out what you suggest any ways.
M. Jamal -
How to get multiple html output file from an xml document via xslt?
Hi,
the purpose is to generate multiple html output file from one xml file
depending on special tag.
exp: i have an xml file which contains sevreral articles so how to get each article section in an independant html file
Thanks for helpNot a standard feature of XSLT. But Michael Kay's XSLT implementation, SAXON, provides that as an extension. Get it here:
http://saxon.sourceforge.net/ -
Sender file adapter with content conversion Simple XML
Hi experts,
I'm trying to parametrize my sender file adapter content conversion.
I'm receiving a text file with one single line like:
AA1;AA2; AA3;
and I want to convert it to an XML like
<MT_A1>
<field1>AA1</field1>
<field2>AA2</field2>
<field3>AA3</field3>
</MT_A1>
Actually I know how to do somenthing like
<MT_A1>
<LINE>
<field1>AA1</field1>
<field2>AA2</field2>
<field3>AA3</field3>
<LINE>
</MT_A1>
What I want is remove the <LINE> tag from my XML.
Regards
Gonzalo
Edited by: Gonzalo del Castillo on Nov 28, 2008 2:18 PMHi
Use this help document for receiver FCC
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Content Conversion (Pattern/Random content in input file)
File conversion text to xml (Few Last Post) -
Can't compile the HTML-Java Wizard generated file.
I have created a java file using HTML-Java Wizard.
when compiling the java file it gives an error
method getDeclaredMethod(java.lang.String,null) not found in
class in java.lang.class
can anyone tell me how can I remove the error ?
waiting for your early reply in this regard.
Thanks
nullThanks, My problem has been solved.Now it is working.
Initially I was using wrong classes.zip file in myclasspath.The
Correct one is in %JDEVELOPER_HOME%\java\lib. The size of that
file is 9.48 MB.
Regards
-- Sujit
JDeveloper Team (guest) wrote:
: Sujit,
: I assume that you have access to the OAS jars needed to compile
: this file (refer to the "Building Java Applications for OAS"
: guide in the helpsystem for details).
: Also, try deleting the dependecy files in your
: myclasses/your_package directory .
: Regards,
: Sujit Hazra (guest) wrote:
: : Hi,
: : The error is still there.
: : I have tried as you suggested.That brought me the code of
: : java.lang.Class and also found that method as you
: mentioned.This
: : means my libraries are properly installed.
: : The following code is taken from the HTML-Java Wizard
generated
: : file:
: : private HtmlPage makePage() {
: : HtmlPage hp = new HtmlPage(new java.io.File(filepath +
: : java.io.File.separator +
filename));
: : for(int i=0;i<WRB_tags.length;i++) {
: : try {
: : hp.setItemAt(WRB_tags[0], new SimpleItem(
: : this.getClass().getDeclaredMethod(
: : "get"+WRB_tags[i][2],null).invoke(this,null)));
: : catch (java.lang.Exception ex) {
: : hp.setItemAt(WRB_tags[i][0],
: new(SimpleItem(WRB_tags[i][1]));
: : return hp;
: : I didn't change anything on that.What else should I do?
: : waiting for your early reply in this regard.
: : Thanks
: : - Sujit
: : JDeveloper Team (guest) wrote:
: : : Sujit,
: : : Test this:
: : : Bring up JDeveloper
: : : Press Ctrl / - Control key and the Slash key
: : : Type in java.lang.Class
: : : This brings up the code for java.lang.Class
: : : If it does not, then somehow your libraries
: : : are not properly installed for JDeveloper to find
: : : (see IDEClassPath ).
: : : Otherwise, there you should see many methods including:
: : : public Method getDeclaredMethod(String p0, Class[] p1)
: : : throws NoSuchMethodException, SecurityException {
: : : // implementation not available
: : : Also note: Your spelling for Class should be
: : : java.lang.Class
: : : - JDeveloper Team
: : : You can browse the class
: : : Sujit Hazra (guest) wrote:
: : : : I have created a java file using HTML-Java Wizard.
: : : : when compiling the java file it gives an error
: : : : method getDeclaredMethod(java.lang.String,null) not found
: in
: : : : class in java.lang.class
: : : : can anyone tell me how can I remove the error ?
: : : : waiting for your early reply in this regard.
: : : : Thanks
null -
JFileChooser - Specifying the files to be open e.g. java, txt etc
How do I specify the files that I want to open using JFileChooser?
I know that the following code specifies all files
jFileChooser1.setFileSelectionMode( jFileChooser1.FILES_ONLY);
but I want my GUI only to allow .java and .txt files. Can somebody please help?"How to Use File Choosers":
http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html
Pay extra attention to the section "Filtering the List of Files". -
How can I convert pdf file to xml or html file.
Hello
My English ability is very poor. sorry.
I want to extract text and image from pdf file.
so, I try use itext. but.. I can't make what I want .
I searched pdfbox and jpedal.
but I can't get my solution.
Just I want to convert pdf to xml or html(html prefer).
I think pdfviewer is hint.
but I can't get full source(in jpedal)
Plz help.. me.....
Does anybody solve this problem?Stay in your old thread
[http://forums.sun.com/thread.jspa?threadID=5198647]
Don't multi/crosspost or your account will be locked. -
Conversion of multiple xml idocs to flat file
Hi,
I did ABAP mapping to convert xml idoc to flat file by using the reference how to do abap mapping in xi3.0.pdf
It is working for only one idoc at a time.
If I have multiple idocs in a single xml file, the above code is not working.
Please let me know what cchange to be done to work out for this.
Hope am clear.
Regards,
Anil.Look For the Occurances of target Field node...It should be 1 to unbounded
Maybe you are looking for
-
Standard Function Modules, BAPIs, BADIs and User Exits in OM
How do I check what are the Standard Function Modules / BAPIs in OM or any HR sub modules like PA, Comp, TEM etc..
-
Internet Sharing never starts completely and gives IP addresses
Hi, I'm trying to start internet connection sharing and fail to. Here are symptoms: Trying to share connection from Ethernet through AirPort, enabling Internet sharing in Sys Pref, then Pref pane shows green lamplight and says "Opening your shared co
-
Creating inbound delivery for the purchase order line items
Hi Experts, Please let me know how can I create inbound delivery for the purchase order line items? Say, I have a purchase order with 5 line items in it. I wanted to create an inbound delivery for only 2 line items at this point of time. Which SAP
-
SWF for HTML, how ?
Hello, I've created a composition of (772 width X 231 height). I want to put it on my website. I on the Homepage. I just want it to play once and then stays. I already looked for File -> Export -> Adobe Flash Player (SWF). When its finished rendering
-
JSF Internationalization in arabic
Hi, i have to display JSF page in Arabic language I have stored properties file in arabic using UTF-8 character encoding and save properties file for eg messages_ar.properties But Jsf page is displaying garbage charaters in place of arabic value My J