Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
16 views

This page contains the following errors: XML declaration allowed only at the start of the document [duplicate]

I have a problem in the sitemap of my site the sitemap page is displayed as it is: This page contains the following errors: error on line 5 at column 6: XML declaration allowed only at the start of ...
chaker chebbi's user avatar
-1 votes
0 answers
46 views

How to show Json String Value of a XML Node? [closed]

I require to generate xml of the following format. <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">[{"Name":"Sachin&...
Sachin's user avatar
  • 119
1 vote
0 answers
23 views

In PHP, xml namespaces are being redeclared when the namespace prefix is changed

In my document type declaration, I have the following: <!ELEMENT all:Test (div)> <!ATTLIST all:Test xmlns:all CDATA #FIXED 'http://www.mrinitialman.com/' xmlns CDATA #FIXED 'http://...
MrInitialMan's user avatar
0 votes
0 answers
18 views

JMS Serializer unknownObjects

I'm trying to modify a Object of my collection that it can handle unknown objects I Got Objects A, B, C but it can also happen that I get an Object Z which I have no presentation in My ...
Illmaren's user avatar
0 votes
0 answers
16 views

Magento2 cusotm module and uiComponent won't load items, infinite spinner and "We couldn't find any records"

I have created a custom module that's purpose is to manage Vendors. I have created a Collection, CollectionFactory, DataProvider, di.xml, vendors_vendor_listing.xml and so on and so forth. I am able ...
Philip's user avatar
  • 331
1 vote
2 answers
43 views

PHP DOMElement nodeValue not persisting escaped(encoded) characters

I have been given an unusual goal and that is to create an XML with no CDATA element from a multidimensional array with these constraints: CDATA shouldn't be used <, >, ', ", & - These ...
Himanshu Lahare's user avatar
1 vote
1 answer
32 views

XPath expression for finding subsequent elements that have the same tag name

Here is a sample XML: <Body> <Subsection lims:inforce-start-date="2018-12-15" lims:fid="170842" lims:id="170842"> <MarginalNote lims:inforce-start-date=&...
Gabriel 's user avatar
0 votes
1 answer
39 views

fopen() cannot read .xml file from connection

I was able to read the .xml file, which is publicly available and accessible from the web browser, in a normal way until today as follows. $file_handle = fopen($exchanges_file_url, 'r'); However, as ...
muro's user avatar
  • 1
-1 votes
1 answer
31 views

How to post xml data to server using javascript and PHP [duplicate]

Trying to use POST method to send xml data. The javascript is as follows let httpreq = new XMLHttpRequest(); httpreq.open('POST',url,false); httpreq.setRequestHeader("Content-...
user25318123's user avatar
0 votes
1 answer
28 views

Parse simple XML string (SOAP) to PHP Object [duplicate]

I have below XML string which i got in the response of an SOAP API, which i want to convert as Object or Array to use, so i tried both ways, DOM and simplexml_load_string but it shows empty! Here is ...
Mohib Salahuddin Ayubi's user avatar
1 vote
1 answer
36 views

Response SOAP Request

I'm using cURL to make an HTTP POST request to a zimbra SOAP server and get auth token, but I'm getting the HTML page instead of the SOAP response. What I'm doing wrong? That's the code <soap:...
Sérgio Brito's user avatar
0 votes
0 answers
47 views

Fatal error: Uncaught Error: Class "XSLTProcessor" not found

I have to work with a data base file data.xml and a stylesheet data.xsl for data.xml in docker. I put in a php file named fr.php this: <?php $xml = new DOMDocument; $xml->load('data2.xml'); $...
Alin Ciornei's user avatar
1 vote
1 answer
44 views

Create new file with XML data from original file based on criteria

On the page I have it loading content from an XML file. There is then a form which displays entries from this XML file based on the category name matching the $_GET['cat'] value. The form then allows ...
ChrisYates's user avatar
0 votes
1 answer
59 views

Deserializing a XML into an Object code does not work

I have a issue with deserializing and XML within Symfony. I tried the normal Symfony Serializer but its not working there either. As far as I can see everyting seems to be correct but I dont see the ...
Illmaren's user avatar
-3 votes
1 answer
31 views

Wrong check-in time from camera to system laravel backpack

I am doing a project using laravel backpack about manage in-out vehicle for bus stop. Problem here is the check-in time is wrong with the real check-in time from camera. My CameraLogginOperation file: ...
Nguyen Hiep's user avatar

15 30 50 per page
1
2 3 4 5
1203