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
0
votes
1 answer

How to generate xml file on the fly and download it to the requesting browser using ASP.NET Core

I'm trying to generate XML file on the fly and download it to the requesting browser (client's machine) in ASP.NET Core 5.0. I tried this one with no luck: public Task GenerateXML() { // here I just created the XmlDocument XmlDocument doc =…
0
votes
1 answer

Generating XML data from a row value having multiline data

I need one help in SQL to generate XML file. I have one table which has one column with multiline row data. Table Name: table1 Column Name: col1 1 Row Data is like below: VALUE1 VALUE2 VALUE3 VALUE4 I need to generate below XML file.
0
votes
0 answers

How to generate multiple tags with same name with hierarchy in python 3.x using lxml?

I want to generate an XML something like this:
Karan Gupta
  • 529
  • 2
  • 7
  • 21
0
votes
2 answers

How to send data from a web page to XML and then to a SOAP web service

Till now, we had a backend SOAP web service for our application which used xml input to hit the service. But now we are trying to build the front end which takes a few inputs from the user and updates only the xml atomic values accordingly, as we…
Harsha
  • 87
  • 1
  • 14
0
votes
2 answers

writing xml to file python multiple times

I seem to be stuck. I am trying to get multiple iterations of the xml that is generated from my python code. It only writes the latest iteration to file. Here is my code: import xml.etree.cElementTree as ET from random import randint i=5 while…
merit_2
  • 461
  • 5
  • 16
0
votes
1 answer

What is the length of maximum text inside an xml node?

I'm generating XML file using PHP, In my Generated XML File there is a node with large amount of text. So My question is, Does XML have any limitation in number characters inside a single node ? If So, What is the…
SG_
  • 1,316
  • 14
  • 26
0
votes
1 answer

Create XML file for Orbeon form?

I have created the Orbeon form. How do we save the form in XML format. Let's say I have created a button in my form. On click of the button I need to generate the XML for created form. On click of the edit button It is showing the code for the…
Vinod
  • 2,263
  • 9
  • 55
  • 104
0
votes
1 answer

Generating XML with an arbitrary number of nodes

I'm new to working with java. I'm trying to write out an XML file which has this form:
Skaevola
  • 103
  • 5
0
votes
1 answer

Jibx binding testing against xsd

I work on a project that uses jibx for marshalling/unmarshalling xmls. And every time when xsd changes I have to change bindings which I'm ok with. But what I want is to be sure before deploy that there is no xml such that the xml is xsd-valid and…
fallens4e
  • 443
  • 5
  • 8
0
votes
2 answers

whats the best way to generate an XML file if all tags (including closing tags) and their values come from DB?

I have a situation where I have to generate some XML files based on data that comes from DB. The structure of the data that is stored in DB is the problem. Actually all the TAGs and their values are stored in a table which also include closing TAGs…
Aamir
  • 1,747
  • 5
  • 26
  • 50
0
votes
1 answer

PHP Long running request executed twice

I am struggling with a problem occuring only on very long running requests. I have a web application with the possibility to export a large amount of data on demand in a XML file. Depending on the data the export runs from just a second to several…
sandro1111
  • 63
  • 1
  • 8
0
votes
1 answer

How to close emty tag in XMLELEMENT?

Colls, hello. I can't close empty tag "password". There is my code: select XMLROOT( XMLELEMENT("prod", XMLELEMENT("prod2", XMLELEMENT("quest", …
May12
  • 2,420
  • 12
  • 63
  • 99
0
votes
1 answer

Haskell Simple XML generation gives compile error

I am trying to learn to use the xmlgen library, but when I tried the example from http://factisresearch.blogspot.in/2011/05/xmlgen-feature-rich-and-high.html I get a compile error. Here is the code: import Text.XML.Generator import…
donatello
  • 5,727
  • 6
  • 32
  • 56
0
votes
1 answer

XDocument is prepending string

I'm generating XML using XDocument in C#. Everything works fine except I always get auto generated string XDocument doc = new XDocument( new XDeclaration("1.0", "UTF-8", "yes"), new XElement(aw+"ProviderUpdate", …
user50992
  • 201
  • 3
  • 14
0
votes
1 answer

Generic XML utility -- in java jdom

Please suggest me how to do the following utility in java, Want to create the generic java class to generate the XML with JDOM. Class is capable enough to generate the any xml structure in runtime depends on parameter pass -- How? For example, In…
GLADIATOR
  • 119
  • 1
  • 12