Home > Default > Create xml dynamically

Create xml dynamically

November 30Hits:0
Advertisement
Hi Folks, I want to, within a batch process, create a simple peice of xml and data. Within the process I know what my tags are to be. I will have data as well. And so I simply want to construct this xml (with the tags and data) and then pass this xml as a string to another method.
There is no need for dtd's here or validation. Just simple basic ... a few tags ... a little data ...
So I can just construct this using a stringBuffer ... or do I use an api / parser ... ?

Answers

Cool. Good thoughts. I can go look at the javadoc for jdk1.5 ... in lieu of that, as I am using 1.4, what api, pkg, class would be most appropriate for such a simple scenario? It seems like most of what I see in dom is geared more towards reading and parsing existing xml.

Read other 4 answers

Tags:

Related Articles

  • Creating XML dynamicallyNovember 30

    Hi, I need to create XML which follows this exact structure: <root>     <node>         <row>             <item>item01</item>             <item>item02</item>         </row>         <row>             <

  • Create XML dynamically from schema and Java beanOctober 11

    Hi, I'm looking for suggestions on the best approach to create an XML file programatically from a schema and Java bean. The schema used is not fixed and may vary with each request so a dynamic way to create the XML is required. Is there an API availa

  • Create xml dynamicallyNovember 30

    Hi Folks, I want to, within a batch process, create a simple peice of xml and data. Within the process I know what my tags are to be. I will have data as well. And so I simply want to construct this xml (with the tags and data) and then pass this xml

  • Create XML file with worksheet's dynamically assigned through XSLTOctober 11

    Hi all I have a requirement to create a xml file with worksheets dynamically created based on a field value in the internal table . I have all my values in internal table,  and am calling the transformation from bsp application. Say the internal tabl

  • Dynamically creating XML using Sap-xMII Colum and Row Action BlockNovember 30

    Hi, I am trying to create a xMII-format XML using IlluminatorDocument Action Block. My problem statement is during run time I am required to create columns on the fly.which I have done using xMII Colum Action block.but now I am required to assing val

  • Creating a dynamic jtree using datas retrieved by dom in xml parsingNovember 30

    help me with code to create a dynamic jtree using data retrieved as nodes by xml parsing using domOk, so you want to make a tree. To determine the data that appears in a tree, you have to make a custom tree model. The API for this is at : http://java

  • Creating a dynamic nested menu with xml data received from a webserviceNovember 30

    I need to create a dynamic menu based on a xml returned by a webservice. the xml comes basically in this format: [quote] <resposta>     <status>Success</status>     <mensagem>Whatever</mensagem>     <dados>         <

  • Create xml tag dynamically within simple transformationNovember 30

    Hi all together, I'm faceing the following problem: There is a internal table provided, consisting of name/value-pairs. Something like ls_struc-name = 'NAME1'. ls_struc-value = 'XYZ'. append ls_struc to lt_struc ls_struc-name = 'CITY1'. ls_struc-valu

  • Create XML file dynamically from textInput fieldsNovember 30

    Hi, I'm very new to Flex and trying to create an application that creates XML files on the users' local computer, based on a users input into textInput fields. At the moment I'm having trouble finding how to dyamically create an external XML file at

  • How to create a dynamic RTF report which creates dynamic columns based on dynamic column selection from a table?October 11

    Hi All, Suppose I have table, whose structure changes frequently on daily basis. For eg. desc my_table gives you following column name on Day 1 SQL > desc my_table; Output Name Age Phone On Day 2, two more columns are added, viz, Address and Salary.

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.684 s.