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
1
vote
1 answer

How to add white space and " = " sign in XML createElement

I am using PHP to generate XML file. I have to add space and = sign in XML node name like below someValue but it is showing Invalid Character Error when I use code as $parentnode->appendChild($dom->createElement('a…
hrishi
  • 1,610
  • 6
  • 26
  • 43
1
vote
1 answer

How to generate XML & XSD for DB table

I need to create some reports. I am using Crystal Reports and I need to use XML & XSD files as a data source for my report structure. Somehow I have managed to generate XSD file. However I cannot convert it to the XML due to some errors I have in…
Miki
  • 2,493
  • 2
  • 27
  • 39
1
vote
0 answers

Generate XML file format from Oracle stored procedure

I have created a stored procedure for generating XML files as per given input parameter "Table_Name". Stored procedure is: create or replace PROCEDURE Export_In_XML11JUNE ( V_TABLE_NAME1 IN varchar2, v_FLAG OUT NUMBER ) AS BEGIN …
hardik rawal
  • 117
  • 1
  • 2
  • 18
1
vote
0 answers

Cisco IP Phone Services - Dynamically Generate XML pages

I am new to Cisco IP Phone Services (IPPS) and I am still trying to understand the concept behind it. I am a application developer, so I have much experience in web development either. I have been looking at the Singlewire documentation from…
Lex L
  • 315
  • 1
  • 3
  • 17
1
vote
3 answers

Create XML Document with PHP in an easy way

I want to build an XML document in PHP. I chose DOMDocument, and i know i have to use methods like createElement, createTextNode, appendChild, etc. to build my XML. This is how i generated the xml with just one node containing vehicle…
shasi kanth
  • 6,987
  • 24
  • 106
  • 158
1
vote
1 answer

How to generate Xml from Entity tree that holds BLOB and CLOB data

I have an entity tree, which is fetched by hibernate, and I want to generate xml from the entity tree. In this tree, there are many blob and clob data type. I don’t want to include them in xml, rather I want to keep a reference id in the xml. The…
A N M Bazlur Rahman
  • 2,280
  • 6
  • 38
  • 51
1
vote
3 answers

Cakephp generating xml error - blank space

I am trying to generate a dynamic xml document in CakePHP to output to the browser. Here is my controller code: Configure::write ('debug', 0); $this->layout = null; header('Content-type: text/xml'); echo ""; View is something…
happyhardik
  • 24,987
  • 7
  • 47
  • 60
1
vote
1 answer

Custom XML Generator UI from XSD

I have an XSD document. My requirement is to create a UI which will generate an XML based on some input fields values and rules in XSD document. Are there any tools available online, that will take the XSD document and create a UI with input…
TechyHarry
  • 301
  • 2
  • 8
  • 25
1
vote
1 answer

xmlgen: Generating mixed content XML nodes (i.e. with both body text and nested XML elements) in Haskell

I am trying to generate XML with mixed content nodes (has both body text and children nodes), like the following: some text thingy I am using the xmlgen library. Here's how far I got: import…
donatello
  • 5,727
  • 6
  • 32
  • 56
1
vote
3 answers

Creating a XmlDocument with hardcoded schema C#

I have an application that works with XML file. It works great if the xml file is present, however there is also a requirement, that the project generates a blank XML file and then writes to it in case the output file is not present. The xml file…
David Božjak
  • 16,887
  • 18
  • 67
  • 98
0
votes
1 answer

Generate XML from XSD and data, while skipping generating classes

I have the following reoccurring pattern: I call a black box with some parameters and get as a result which is List> (or something equivalent) where each Map has the same keySet. Then, I'm expected to produce XML of the form…
sbk
  • 9,212
  • 4
  • 32
  • 40
0
votes
1 answer

Can I display the output of a file with extension *.php as XML in Chrome?

I have a PHP script that outputs valid XML to the browser. Is there a way that I can get Chrome to display this as XML?
maxedison
  • 17,243
  • 14
  • 67
  • 114
0
votes
1 answer

How to make saxon transformer backward compitable?

I have a file documentA4.xsl below:
0
votes
0 answers

How to generate XML files from SQL Server with hyperlinks?

I need to create XML files based on data in a base table using SQL Server BCP, however the XML I'm using contains hyperlinks and I think SSMS is interpreting these hyperlinks differently to normal text, so they are not encapsulated correctly within…
Omen
  • 5
  • 2
0
votes
1 answer

xml.etree.ElementTree how can i add attribute inside of a node?

I want the build an xml file and i made some research. I decided the use xml tree but i couldn't manage the use it like i want. I want the generate this xml. i am doing in python import…
Selman
  • 274
  • 2
  • 4
  • 17