Questions tagged as 'xml'

1
answer

What is causing Malformed Reference Element in my Signature?

I'm trying to sign an XML by passing the reference tag, id, XML, and certificate. In a certain situation it does not work, but I never know what the situation is, it's a bit random. And now, even though I'm changing reference.uri to...
asked by 17.03.2017 / 16:49
1
answer

Content is not allowed in prolog [closed]

I have a problem that is as follows. I have a host that reads a vxml file. However, if I ask him to read a vxml file, it works. But when I generate content via PHP it gives the title error    Content is not allowed in prolog <?php h...
asked by 14.12.2016 / 17:38
1
answer

Resize image in a square while maintaining proportion of the original PHP image

What happens is this: I'm pulling some product photos from an XML link, and the images come in different sizes. I currently use a code that takes the image and resizes it to 200x200, but images with different height and width obviously make i...
asked by 20.01.2017 / 18:15
1
answer

Error: Can not find symbol getRootElement [closed]

I'm trying to read a file .xml using the code below public static String lerArquivoXML(String string){ SAXBuilder builder = new SAXBuilder(); File xmlFile = new File("c:\teste.xml"); try { Document docume...
asked by 22.12.2016 / 15:06
1
answer

How can I parse an xml that has a vector inside another vector?

I'm having a question about how I can parse an xml that the server is sending me.     I can get the data up to the Cobranca tag after this tag has another array that I can not get. Here's the one part of xml: <return xsi:type="SOAP-E...
asked by 11.11.2016 / 14:51
0
answers

Code Maintenance

I have an application that deserializes an XML file. I generated a class from an XSD with XSD.EXE For deserialization I use the following code: static T LoadFromXMLString<T>(string xmlText) { var stringReader = new System.IO.St...
asked by 05.12.2016 / 17:16
0
answers

Xml NFSe (NotaBlu)

Hello, I'm having trouble finding decent documentation for integration with WebService of notablu , I need at least one model of what XML would be like to send (preferably with caption of what some values mean, or things like I could...
asked by 04.10.2016 / 21:48
0
answers

NFePHP: Generate template 20 invoice XML

I need to generate the supplied service invoice XML (NFS-e) template. Looking at the NFePHP documentation, I have found that it generates XML but in model 55 which is the sales invoice for products. Does anyone know if NFePHP generates the...
asked by 01.08.2016 / 16:05
1
answer

Return XML value in PHP

Hello, I need to import an XML value but I have already tried it in several ways and I can not, my XML is this: <tns:phpsysinfo xsi:schemaLocation="http://phpsysinfo.sourceforge.net/ phpsysinfo3.xsd"><Generation version="3.2.5" timest...
asked by 01.07.2016 / 22:52
1
answer

Layout is not adapting (XML)

Hello, I'm having a hard time in a layout that I'm doing in Android Studio, on my phone it looks perfect, but when I pass it to my friend with a cell phone with a much smaller resolution, EditText Message simply disappear to him. Here on my...
asked by 07.07.2016 / 04:10