Questions tagged [xml-generation]

Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable

The design goals of XML emphasize simplicity, generality, and usability over the Internet.[7] It is a textual data format with strong support via Unicode for the languages of the world. Although the design of XML focuses on documents, it is widely used for the representation of arbitrary data structures, for example in web services.

47 questions
4
votes
1 answer

Write XML in swift on iOS

I'm trying to find a solution for creating a XML Document and put it in a String, I did some research on how to create generate or write xml in swift, but I found only libraries and I don't want to use them, is there a solution? I have some…
Ben
  • 761
  • 1
  • 12
  • 35
3
votes
3 answers

Create XML document on GWT client side

I'm trying to create some XML files on the client and then send them to the server (nothing special, just something like ......). Doing this by hand would be possible but extremely inflexible and I see myself making a…
Stefan
  • 14,826
  • 17
  • 80
  • 143
3
votes
0 answers

How to add global resource to specify output XML xsd format in MapForce?

I started learn about MapForce couple of days back and I was able to create some simple mapping to generate XML file from csv file. But my problem is how can we use MapForce global resources to specify XML xsd format? This is sample XML which I…
casper
  • 535
  • 5
  • 13
3
votes
1 answer

PHP SimpleXMLElement: How to add dynamic child with ampersand escaping

I'm using the following code to add dynamic child to an xml node "); $rowXML = $recordXML->addChild('row'); foreach ($array as $column => $column_value) { …
SG_
  • 1,316
  • 14
  • 26
2
votes
2 answers

We have C structures in header files and we want to have an XML schema generated from the header files

I have a twenty year old legacy application and want to connect it to a web front end. I need to pass a rather large deeply nested data structure that is defined in C structs. We are currently planing to do that in XML. The total number of struct…
J Edward Ellis
  • 1,368
  • 2
  • 12
  • 21
2
votes
1 answer

save separate separate xml file base on orderid

Hi all currently i have saved all the xml file in one file . but i need to save in separate file. could you please help me on it. current code :- System.Data.DataTable checkFile = new System.Data.DataTable(); sql = "sql"; …
ABCD
  • 379
  • 1
  • 8
  • 25
2
votes
0 answers

Is there a way of creating a XML instance document from a given XSD schema in Python?

Given a valid XSD schema file is there a way to automatically generate an instance XML document from it in Python? I am looking for a very simple way to do that (without any extensive configuration capabilities). I can use lxml.etree to later change…
rbaleksandar
  • 8,713
  • 7
  • 76
  • 161
2
votes
1 answer

Howto create a complex XML-Tree with F#?

I am searching for a method in F# to construct an xml-tree-structrue from a domain-class-model. Guess you have some classes (types) with a parent-child-relationship like: Container -> Child -> Child -> Container -> Child -> Container ->…
Peter Ittner
  • 551
  • 2
  • 13
2
votes
1 answer

how to read or extract graphical componenets such as square ,rect,line etc., from a pdf document using java?

I am trying to extract all datas( such as square ,rect,line etc.,) from a pdf document which was generated using iText.But I'm not able extract the content rather than text and image.I want to extract graphical components mentioned above.
kerZy Hart
  • 181
  • 4
  • 17
2
votes
1 answer

Generate XML files for testing from XSD schema

I have a complex collection of XSD schema that I have already used to validate some existing XML examples, using Python lxml. Now I'm trying to generate additional XML examples from the existing XSD schema. These new XML examples will be used for…
2
votes
1 answer

Simple Clojure XML edit

Let's say I have a vector of maps [{:username "kbee" :firstname "Kay" :lastname "Bee"}, {:username "jcee" :firstname "Jay" :lastname "Cee"}] and i want to generate xml files for each map like the following kbee
KobbyPemson
  • 2,519
  • 1
  • 18
  • 33
2
votes
2 answers

Generating XML in bash, need some efficient ideas

I need to generate an XML file in bash(I am new to bash/scripting languages, despite working on C/C++/UNIX for some time). Right now, I am generating something like this, which is pretty flat st='<' et='>' sl='/' ------------------- stag() { …
howtechstuffworks
  • 1,824
  • 4
  • 29
  • 46
1
vote
2 answers

Generating dynamic XML from Python dataframe

Data: name phone email address address1 address2 dateofbirth John 111111111 john@email.com Chicago Illinois Phoenix Mark 222222222 mark@email.com London My code: def convert_row(row): return…
Sri
  • 85
  • 4
1
vote
3 answers

Generate xml for Table data and column definitions

I'm currently trying to generate an XML using a SQL statement, which returns the data from a table, as well as the table names, column names and associated data. So the structure of the table plus the data. The whole thing should be kept dynamic, so…
Mesterano
  • 13
  • 2
1
vote
2 answers

How to get a self-closing xml tag in Oracle PLSQL?

The Requested output is should be as follows: where the tag should be self-closing as above. I am using the following code: SELECT XMLELEMENT( "Consignment",…
Bauerhof
  • 155
  • 11
1
2 3 4