How to convert DTD files into XML(template) by using Java ?
I am a beginner to java,and want to convert a random DTD file
into a XML template(having no data).
any guys can give me some suggestions ?
thanks very much
DTD allow you to validate a XML file.
To do so, you can use API such as dom or xalan.
To transform an XML file from a vocabulary A to vocabulary B, you have to write a XSLT style sheet, and use xerces to perform the transformation.
Using tools such as XSL-FO, you can transform your XML into PDF.
Similar Messages
-
How to convert .stl file into .xml file. Subtitles to IMPORT INTO FCPro
I have a subtitles file which was created in dvd studio pro. I exported that file and made a .stl file (which can be opened with TextEdit).
I need to import that file into FCP to then make a quicktime file w/subs to be exported.
I'm trying to use TitleExchange which tells you you CAN convert .stl files into .xml (FCPro type of file) but when I try to import the .stl subtitle file into TitleExchange to be converted to .xml I get the following error:
Can't make "" into type boolean. (-1700)
Can someone help?
Thanks!!!
PaulaCan anyone help me?
I absolutely need to import the subtitles into Final Cut and re-writing all of them manually would take forever.
Please let me know if there is any program I need to use.
Thanks for all tips
Paula -
How to convert Xls file into Xml file
Hi,
I am trying to convert Xls file into Xml but there is no any direct procedure for it
Pls help me out to convert Xls file into Xml file
Thanks
Anushreeyou will require to write a module in your file adapter for the same.
ref: /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter as mentioned in the earlier post.
Else you can also use Conversion Agent to read the same.
Ref: http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm -
How can convert HTML file into xml file?
Hi,
I am receving one HTML file as an input and i want to convert that receiving(html file) into .xml file.Is there any converter (tools)to do this.Pls if any give me the details with regard.
Regards,
mahesh.Use the HTMLEditorKit to parse the html file.
this kit is having the callback methods which
are called wenever the tag appears in the HTML
stream. -
How to convert text file into xml file format with and check that with DTD
I have an text file with | seperator . I have to convert this to an xml file and check with DTD present with me..
plz help me outcan i get some code that how to compare the xml with dtd or just give the DTD name with an XML
-
How should convert text file into XML file?
I do a project "WEB SERVER LOG ANALYZER" using JSP. For that i copy the content of log file into the other file . how i convert it into XML file . xplain with coding
Read this [page.|http://www.devx.com/getHelpOn/10MinuteSolution/20356]
-
How to convert xls files into xml
hi all,
please tell me how to convert the xls files into xmlHey Sayee,
This gives you step by step procedure to start up
saptechnical com/Tutorials/XI/Adapter/Index.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm
Regards
Pothana -
How to convert AI file into xml having keywords and coordinates
Hi,
I am new to AI and I am facing problem in exporting AI file.My AI file contains the Template for business card i.e. it has image and text field(static text) over it .Requirement is, the exported xml (like FXG) should have text fied attributes like x,y coordinates,font size ,style etc. and Keywords inserted in it.In SVG file I am able to export it in SVG but it's parsing taking lot of time.In FXG I am not getting those keywords,some attributes are getting drop.Is there any way to get the XML in that format(having x,y cordinates,style etc for text field along with keywords) ??
ThanksIf you're a developper, you should try to generate your own xml format, using Extended Script ToolKit (based on Javascript) or PatchPanel/Switchboard (based on Actionscript3).
PatchPanel and Switchboard can be found at Adobe Labs, the Extended Script ToolKit is a part of CS4.
For the documentation part, PatchPanel and Switchboard have their own documentation available in the zip file ; the illustrator javascript reference is here : http://partners.adobe.com/public/developer/en/illustrator/sdk/AIJavaScriptReference.pdf
Have fun -
How to convert text file into xml file
Hi Folks,
I am genarating list of data into text file, but i want to genarate xml file for this text file. How to achive this , please let me know. Thanks.
regards
Vishalhi Vishal,
Use<b> GUI_DOWNLOAD</b> FM and give the file name as <b>file.xml</b> with BIN Mode....
i.e,
Download internal table to presentation server file(PC)
DATA: ld_filename TYPE string value <b>file.xml</b>,
Pre version 4.7 declaration e_file like rlgrap-filename.
DATA: begin of it_datatab occurs 0,
row(500) type c,
end of it_datatab.
call function 'GUI_DOWNLOAD'
exporting
filename = ld_filename
<b>filetype = 'BIN'</b>
tables
data_tab = it_datatab[]
exceptions
file_open_error = 1
file_write_error = 2
others = 3.
Regards,
Santosh -
How to convert excel file into xml file
Friends
Will you please help me out becz i am daily getting excel file from SAP which i have to translate into the xml file.
Waiting for ur reply.
HiteshDepends on how your excel document looks like and what you wish to accomplish.
First, save the excel file as a tab or comma separated file.
Create a program that reads the lines of the file, and just print the cell content into the right xml tags.
E.g.
Street Name
Main st 3 Wild Bill
Main st 2 Crazy Bill
could be translated into an xml:
<Adress>
<Street>Main st 3</Street>
<Name>Wild Bill</Name>
</Adress>
<Adress>
<Street>Main st 2</Street>
<Name>Crazy Bill</Name>
</Adress>
or:
<header>
<col>Street</col>
<col>Name</col>
</header>
<row>
<col>Main st 3</col>
<col>Wild Bill</col>
</row>
<row>
<col>Main st 2</col>
<col>Crazy Bill</col>
</row>
etc
E.g. using the code
String[] lineColumns=...
while(lineColumns!=null){
println("<row>");
for(int i=0; i<lineColumns.length; i++){
println("<col>"+lineColumns[i]+"</col>");
println("</row>");
...Gil -
How to convert HL7 file into an XML
Hi All,
I am new to HL7,can any one tell how to convert HL7 file into an XML.Give sample demo or related links.
My sample HL7 file is as follows how can I convert.
FHS|^~\&||Tax ID123^Lab Name123^L|||201110191435||HL7.txt||1234567|123||
PID|seqno|123||john^chambers^^Dr^Dr|2456 california ave^San jose^CA^85254|19601212|M
FHS|^~\&||Tax ID123^Lab Name123^L|||File Creaqted Date|File Security|FileName||File HeaderComment||Facility|FileCreatedDateTime|File Security|File Name|File Header Comment|FileControlId|Reference File Control ID|
PID|seqno|patientId||LastName^FirstName^MiddleName^Title^Degree|Street^City^State^zip|patientDOB|gender
<Report>
<FileHeader>
<FileSendingApplication> </FileSendingApplication>
<TaxID>Tax ID123</TaxID>
<LabName>Lab Name123</LabName>
<FileSendngFacilityType>L</FileSendngFacilityType>
<FileReceivingApplication></FileReceivingApplication>
<FileReceivingFacility></FileReceivingFacility>
<FileCreatedDateTime>201110191435</FileCreatedDateTime>
<FileSecurity></FileSecurity>
<FileName>HL7.txt</FileName>
<FileHeaderComment></FileHeaderComment>
<FileControlId>1234567</FileControlId>
<ReferenceFileControlID></ReferenceFileControlID>
<FileHeader>
<Patient>
<seqno> </seqno>
<patientId>Tax ID123</patientId>
<LastName>Lab Name123</LastName>
<FirstName>L</FirstName>
<MiddleName></MiddleName>
<Title> </Title>
<Degree></Degree>
<Street></Street>
<City></City>
<State>HL7.txt</State>
<Zip></Zip>
<patientDOB>1234567</patientDOB>
<gender></gender>
<Patient>
</Report>
Thanks
ManiHi Prabu,
With input as in single line I'm able to get the the output but with the multiple lines of input,error was occured.Any suggestions.
Error while translating. Translation exception. Error occured while translating content from file C:\temp\sampleHL7.txt Please make sure that the file content conforms to the schema. Make necessary changes to the file content or the schema.
The payload details for this rejected message can be retrieved. Show payload...
Thanks
Mani -
How to convert database table into xml file
Hi.
How to convert database table into XML file in Oracle HTML DB.
Please let me know.
Thanks.This not really a specific APEX question... but I search the database forum and found this thread which I think will help
Exporting Oracle table to XML
If it does not I suggest looking at the database forum or have a look at this document on using the XML toolkit
http://download-east.oracle.com/docs/html/B12146_01/c_xml.htm
Hope this helps
Chris -
How to convert jpeg files into word
How to convert jpeg files into Word
Hi Eugene,
I don't think you can convert an image to a Word document, but you could place the JPEG into a Word document using the Insert > Object command in Word.
For other questions relating to Word, you will probably have more luck getting an answer if you post on the Microsoft forums (we can help if you're using Acrobat, or another Adobe product, but you'll find the Word experts on the Microsoft forums.)
Best,
Sara -
How to convert Doc file into image
hello frnds
Can any body guide me how to convert doc file into image and show into swf loader.
actually i have to convert doc files into swf files in runtime so that i have to use this flow.
is it possible to convert doc file into byte array and than convert into image.
Thanks And Regards
Vineet OshoYou can convert any DisplayObject to byeArray using this function ImageSnapshot.captureBitmapData().getPixels()
-
Convert gzip files into XML format
We have a requirement where we receive gzip files. These files are zipped file containing base64 binary format csv files. We would have to convert these files into XML format. Please let me know any of the following.
1. Is there any Xpath query or XSL function (somthing similar like doTranslateFromNative() ) to convert from gzip files to XML format.
2. If we need to unzip the zipfile outside fusion, then java code piece to unzip the gzip file. I guess after that we can use the usual doTranslateFromNative() function to translate to XML format, since after unzipping the gzip file, they are base64 binary formats.
Thanks in advance,
TomsThere is an option to do pre-processing and post processing of Files when using File adapter. You need to create a valve which will first do pre processing and send the output to FileAdapter.
You can get more information here:
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CACDHGGG
under section: 4.2.14 Pre-Processing and Post-Processing of Files
Essentially you will use Java to unzip the file first and then the unzipped content will be passed to the adapter.
Maybe you are looking for
-
Plz help.... How to Connect a Java With C ....
-
Hi I have overrided update() method and my paint() method simply calls update(). But there is still a flash of default background each time update is called. Can u help me to avoid this problem? thanking u anamika.
-
Hierarchy data loading in sap bw 7.3 for 0 costcenter-dtp error
Hi , I am loading data from ECC with data source 0COSTCENTER_0101_HIER to BW.For this i have created transformations between info object HIERARCHIES 0COSTCENTER and data source and DTP as well.I have loaded data upto PSA with info package no issues,
-
Version Controller for Oracle BI EE
Hi, Is there any way to control Version in Oracle BI EE Reports and Dashboards which are created by different developers and modified as per time and as per requirements? So that we can track, on perticular which day which developer did which changes
-
Hi gurus, I am having a hard time with some XML data. I have posted on that forum, but so far I have not been able to solve the problem. Thus I used a way to get the data from the XML that results in deplicates, as follows, ChargeKey ChargeSequen