Questions tagged [xmlconvert]
31 questions
0
votes
1 answer
How to Convert XML to Array (5X6) then rotate -90 degrees?
I have an XML file which I saved in notepad:
11111
11111
11112
11121
11111
11211
I want to Convert this XML file…

Alice Tay
- 11
- 4
0
votes
0 answers
Error to convert xml file to Java object with JAXB
The xml file that I'm trying to convert is the following:
java is a programming language
…
0
votes
1 answer
How to prevent alphabetical sorting when converting from JSON to XML in Azure Logic App
I'm using the xml() function in Azure Logic app to convert a JSON formatted text to XML.
My function:
xml(json(concat('{"root":', string(variables('JsonObject')), '}')))
My issue is that the XML file on conversation automatically sorts itself in…

DrejarN
- 13
- 3
0
votes
1 answer
How to convert JSON to XML using Integration Account or Liquid Templates in Azure Logic Apps?
Are there any concrete examples where a JSON file is converted to XML using an Integration Account? I specifically want to have influence over the the transformation so a direct @xml(..) is not an option.

Jay
- 189
- 4
- 12
0
votes
1 answer
Js2XML returned extra "item" tag when converting to XML
I'm doing typescript project using js2xml package for convert json object to xml.
Below is the xml that I need as the output.
202104455
…

weeraa
- 1,123
- 8
- 23
- 40
0
votes
0 answers
Convert a String to XML Element in Java
How do I convert the following string into XML element using JAVA
String:
TeacherId=ABCDEFGH&Action=Student&StudentId.Id.1=1001&StudentId.Id.2=1002&ClassRoom=12B&Year=2020
Excepted Output:
12B
…

Senthil
- 1
0
votes
2 answers
How to have multiple same start tags but single end tag?
So I have an .XML file which has a start tag
abc "some text"> ...
This means two same start tags, but one single end tag...
How's this possible?
0
votes
0 answers
Prevent LF adding in XML file while converting
I use PHP to convert XML into XML.
While the conversion operates nicely, I have LF that appears after HTML tags. ie:
The weather was nice and Eve was feeling lucky.
becomes
The weather was nice**LF**
and Eve was feeling…

Paul Tessier
- 1
- 1
0
votes
1 answer
Using java script functions in node js
I am using the below JS library in order to convert a JSON to XML in NodeJS.
XML.ObjTree
I created a JS file called XMLJSONParser.js and added the XML.ObjTree content there as below.
module.exports = function () {
XML.ObjTree = function () {
…

Harsha W
- 3,162
- 5
- 43
- 77
0
votes
1 answer
PHP - xml to json conversion: "String could not be parsed as XML"
I have a good xml file (huge, about 420K rows, but valid), and I'm simply trying to transform it in a json in this way:
$xml_str = file_get_contents('jobs.xml');
$xml = new SimpleXMLElement($xml_str);
$json = json_encode($xml);
when I run my php…

frabis
- 101
- 2
- 14
0
votes
2 answers
HTML Agility pack is changing tag to on invalid markup
With an input of:
Title
Bold sentence.
Sentence after two breaks.
Sentence after another two breaks. bold and italicized sentence. sentence.…

Capn Jack
- 1,201
- 11
- 28
0
votes
1 answer
JDOM HTML to XML Conversion - parent node selfend tag generating eventhough it having a child node
JDOM parser used for parsing and conversion of html file to XML file. After parsing the html file self end tag generating even though it has a child node.
Input Html

Manikandarajan
- 21
- 6
0
votes
1 answer
Using XStream to deserialize an XML > Object
I am creating an application and I want the users to be able to have multiple profiles but how would I save the info of the profile like the Strings and Integers. I could use XStream to create a XML file but I'm unsure how to recreate the profile…

Mitch Wardle
- 1
- 2
0
votes
1 answer
How to convert an XML fragment to string in Java
Input XML
101398
ABC
101399
XYZ
Output XML
String :…

Gamini Ramaraju
- 1
- 2
0
votes
1 answer
In XSLT for MODS XML to FilemakerPro conversion, how treat a mod with a parameter?
Referring to query XSLT to translate Zotero xml output to FMPXMLRESULT xml?, how in the XSLT do I refer to a mod such as:
book
(There are multiple mods beginning genre authority, each with a different parameter.…

murray
- 737
- 2
- 10
- 28