Most voted "xml" questions
Extensible Markup Language (XML) or extensible markup language is a structured document format that defines human and machine-readable encoding rules. It is defined by the XML 1.0 Specification produced by the W3C (World Wide Web Consortium).
Learn more…1,028 questions
Sort by count of
-
3
votes2
answers3572
viewsinstallment value Invalid Pagseguro
Opa, I’m using the transparent checkout of Pagseguro, but, if I report an amount of installments greater than 1, in a sale with credit card, I get the error: installment value invalid value: My…
-
3
votes1
answer347
viewsForeach in XML with ids and store in a variable to insert data in a given table
Good afternoon, Next, I have a system that already have the registered ids in a table, ( of cars , are opicional of cars) and in the other table where it is registered the cars is called these IDS…
-
3
votes1
answer355
viewsInterpret XML file tags with PHP
I’m having trouble interpreting an XML file with PHP. The difficulty I have is not being able to get the values according to their tag. The xml loop brings this difficulty to me. See a summary of…
-
3
votes4
answers961
viewshow to generate an xml in memory
With the code below, I Gero a file and write somewhere, however, instead of writing to the disk, I wanted to generate in memory, as it does? using (var context = new…
-
3
votes1
answer2272
viewsHow to search for an element in XML using Javascript
I want to search for a certain element (in case name) in a document XML, using only one input text-type. Code of what I’ve already got TagXML = function() { dados = "<doc>" dados = dados +…
-
3
votes1
answer927
viewsImplement Vbscript Post Reverse Logistics Webservice
I am trying to implement the mail reverse logistics webservice in vbscript but always receive as response the error "Error Reading Xmlstreamreader." Follow the code that is being used. I am still in…
-
3
votes2
answers950
viewsChange XML tags value
I’m having a hard time. I’m unable to scan the XML file and change the values of the tags I need, they are NOTA and SERIE. I have to replace these tags with new values, someone knows how to do it ?…
-
3
votes1
answer835
viewsWhat is causing Malformad Reference Element in my Signature?
I am trying to sign an XML by passing the tag reference, id, XML and certificate. In a certain situation it doesn’t work, however I never know what situation this is, it is something kind of random.…
-
3
votes1
answer54
viewsDoubt with XML file creation
I have a program that creates an XML file using Xmltextwriter, follow the example public static void testeGerarXml() { using (var xml = new XmlTextWriter(@"c:\Gustavo\teste.xml", Encoding.UTF8)) {…
-
3
votes2
answers173
viewsSimple XML Reader does not work properly
I’ve been using the Simplexmlreader to try to extract data from the following XML structure: <boutique> <produto num="228122907">…
-
3
votes2
answers124
viewsSimple XML Reader: I can’t convert nodes to HTML or limit the number of items
I’ve been using the Simplexmlreader to parse a gigantic XML structure, which has more than 25mb. My code works normally, but I’m having two problems: I can’t turn the Xpath in HTML. Well, I’ve…
-
3
votes0
answers692
viewsHow to validate an XML by Schema XSD?
I’m trying to validate the values of a XML through a file XSD. I’m trying it this way: XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(xmlReader); ValidationEventHandler eventHandler = new…
-
3
votes1
answer1260
viewsc# read a remote source XML file
I have an API that generates me an XML but whenever I try to get the XML to handle the other side it returns me an error. the XML is this: <ArrayOfResponsaveis…
-
3
votes2
answers1303
viewsHow to transform an Object into XML in the specified format?
I would like to generate the XML for a request that I will make on Java from an object. The XML that I want to generate is the following: <?xml version="1.0" encoding="utf-8" standalone="yes"…
-
3
votes2
answers4863
viewsReading XML in C#
I know there is a lot of Post on how to read a file XML, but I didn’t find any that present the XML with the same structure I have. I have the following Code. private void LeituraXML() { //Criando…
-
3
votes1
answer989
viewsREINF - Invalid Signature
I’m developing a message for reinf but I’m having trouble sending the first event. By sending an R1000 I’m getting the message: MS0017 Invalid event signature. Invalid XML document Digital signature…
-
3
votes2
answers1248
viewsC# XML digital signature, poorly formed Reference element
I have a code c# that generates a xml with digital signature, but when calling the function signedXml.ComputeSignature() it shows the following error: Badly formed Reference element. However, I…
-
3
votes1
answer275
viewsIterate XML with VBA and pass data to cells
I’m starting to mess with VBA now and I have the following problem: I was able to make a code that makes a SOAP request for a webservice and returns me an XML with the data of a person’s electronic…
-
3
votes1
answer408
viewsdeserialize xml c#
I made a call through my web api and put in a class. How I display the values? xml: <result> <resourceName>activity</resourceName> <size>1</size> <entries>…
-
3
votes0
answers163
viewsFunction to validate xml
I have this function to validate an xml: public static bool ValidarXML(string pathXML, string pathSchema, ref string retorno) { bool falhou; // Define o tipo de validação XmlReaderSettings settings…
-
3
votes1
answer156
viewsHow to manipulate several banks with Hibernate?
I am testing the functioning of Hibernate and I came across a question. I have the following configuration: Hibernate.cfg.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE…
-
3
votes1
answer172
viewsXML tags being generated with prefixes
I am creating an XML file by Delphi and if I use the prefix when creating the first tag, the prefix "ns1" is added to all the tags that will come below, generating error in the integration with…
-
3
votes1
answer439
viewsHow to post in XML in Reacjs
I am starting my walk in Reactjs, and I am going through a problem a few days ago, which is to login to an external api in my application, to give the user access to the rest of the application. I…
-
2
votes1
answer3372
viewsHow to read a JSON file that is inside a package?
I need to file a case file *.JSON. I understand that there is a library for this in case I use the json-simple-1.1.1. How it is necessary to read the file first and then work with it. My question is…
-
2
votes1
answer237
viewsHow to convert a JSON object to XML in AS3?
Is there any method of converting a JSON object to an XML object using the actionscript-3 with Flash CS6?…
-
2
votes1
answer101
viewsHow to restrict SAML 2.0’s Authentication Context XSD
I’m trying to restrict the Authentication Context XML Schema Definition of specification SAML 2.0. The XSD document is available at here. The part I’m trying to narrow down is one related to this…
-
2
votes1
answer115
viewsHow to determine if a string value is in XML format?
I am connecting with an API, or service as you wish, which returns an xml when it finds data in the database, but unfortunately it returns a string if nothing is found or an error occurs. In my…
-
2
votes2
answers222
viewsWhat difference xmldocument vs xmlwriter?
What is the difference between the two classes? In which situation each fits best?
-
2
votes1
answer338
viewsGet value from XML
I’m having trouble getting the value true of this XML: <boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean> I tried this way but I couldn’t: var ns =…
-
2
votes3
answers589
viewsException in reading XML file
I’ve been trying to fix this error in reading XML for weeks. I’m creating an app for Windows Phone 8 in C#. The moment I click on a subject and present the page with a listbox. An Exception of type…
-
2
votes2
answers899
views -
2
votes2
answers784
viewsHow to implement an SVG?
Well, the SVG is very important to the web, since it’s vector and I can resize it at will. It is an image format written in xml and is one of the image standards for web. But, when I try to…
-
2
votes1
answer625
viewsCheck encoding of an XML
I need to process a number of XML files. One of the requirements is that the encoding be it UTF-8. Any other kind of enconding must be rejected. That is accepted: <?xml version="1.0"…
-
2
votes1
answer792
views -
2
votes0
answers127
viewsHow to read the specifications of a REST Web Service
Hi, I need to create a project with consists of consuming a REST web service, where consuming this web service I need to generate an XML with its information/specifications, what are its methods,…
-
2
votes0
answers327
viewsHow to convert String to Byte Array and vice versa?
I need to send an XML via post, but according to the service documentation, it is necessary that the data is sent "in bytes". So, I have the XML in question inside a Tstringlist. How to turn it into…
-
2
votes3
answers601
viewsRemove: from xml generated by my web service
When I use XML in a Rest web service, it appears like this: <getCnpjParceiroResponse xmlns="http://tempuri.org/"> <getCnpjParceiroResult…
-
2
votes2
answers520
viewsXSL does not enter the correct condition
I have the following condition: <xsl:when test="$Rows[1]/@Style='Resultado-Lista'"> <ul> <xsl:for-each select="$Rows"> <li> <a href="/{@FileRef}" title="{$Data} -…
-
2
votes3
answers1143
viewsLoop output within another loop with SQL and PHP
I have these values in my SQL database, I want an output this way and this file in the browser using PHP Database structure with the values I want on output My attempts, although it does not help…
-
2
votes0
answers46
viewsHow to change the position of a Sharepoint Default Ribbon 2013
I am trying to change the position of the Default Ribbon Attach File (Attach File) for a group I created in the "Edit" tab of a list, but I can only make it hidden by adding this line of code to my…
-
2
votes2
answers270
viewsModify XML features through Java
I got the following RelativeLayout: <RelativeLayout android:id="@+id/layout_avancado" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#FF0000"…
-
2
votes1
answer87
viewsSaves more records than Needed in my DB
Follows the code: // Leitura Dados Itens da Nota Fiscal... xmlNCab := NoPrinc.ChildNodes.FindNode('det'); while not (xmlNCab = Nil) do begin inc(l); sgProds.RowCount := l;…
-
2
votes1
answer297
viewsPython - HTTP Digest authentication with urllib2
I needed to authenticate on a test server to consume a service on a webservice, I managed to make the authentication and generate xml with the following code based on a code of Soen operacao =…
-
2
votes1
answer650
viewsParse XML with Shell Script
I have the following structure within an XML file: <TestCase name="A" priority=""> <Test name="A1" result="pass" /> <Test name="A2" result="pass"/> </TestCase> <TestCase…
xmlasked 9 years, 9 months ago paulogirao 21 -
2
votes2
answers81
viewsHow to keep the layout in standby mode?
Well I have two layout teste_1 and layout teste_2 , when I turn apparatus for portrait appears teste_1 and when I turn apparatus for landscape appears teste_2, have to leave this layout in standby…
-
2
votes1
answer360
viewsHandling xml treat strings as if they were files
I’m getting a xml in the format of string in my Sponse. I want to manipulate this xml and generate a list of tags <item> xml returned by web service. Here’s the snippet of my code: if (op ==…
-
2
votes2
answers4504
viewsHow to read xml with c#
I want to create an application for android with C# using Xamarin, it takes in a "database" xml some information and puts it on the screen, but I’m not able to manipulate xml. I need to search the…
-
2
votes1
answer380
viewsReturn to TEXT SVG line
I’m creating a text svg dynamically, and I want to return the middle line of the two variables when printing. I experimented with the " n" and the "br" but it doesn’t make me. var text_h_fin =…
-
2
votes1
answer1368
viewsChange the color of the tab indicator on Android
I have tried in many ways to change the color of what they call "tab Indicator", but without success... Even using the "Android Action Bar Style Generator" the color of this indicator remains light…
-
2
votes1
answer311
viewsColor of an Android app
I’m trying to leave the app color as White (by default), but I can’t do it... Is that possible? Or will I have to define the element color per element? I also can’t change the color of Actionbar,…