Questions tagged as 'xml'

2
answers

How to transform an XML Object in the specified format?

I would like to generate XML for a request that I will make in Java from an object. The XML I want to generate is as follows: <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <v:Envelope xmlns:v="http://sc...
asked by 08.08.2017 / 20:53
1
answer

Doubt with XML file creation

I have a program that creates an XML file using XmlTextWriter, following the example public static void testeGerarXml() { using (var xml = new XmlTextWriter(@"c:\Gustavo\teste.xml", Encoding.UTF8)) { xml.WriteStartDocument();...
asked by 04.04.2017 / 21:23
2
answers

Change tag value of an XML

I'm having a hard time. I am not able to scan the XML file and change the values of the tags that I need, they are NOTA and SERIE . I have to replace these tags with new values, does anyone know how to do this? I researched, but the...
asked by 08.03.2017 / 19:40
3
answers

Leave selected menu

I have a side menu and every time I click on an item to open a page, I would like it to be selected with a color. Menu.xhtml <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http:...
asked by 20.05.2016 / 20:52
1
answer

General namespace for mapped class

Can anyone help me with this question? Based on a result XML from a WebService (OBIEE) I generated an XSD in a online converter and with this XSD I generated the class mapped by means of the command xjc . When I tried to play the XM...
asked by 06.04.2015 / 22:18
1
answer

How to provide support for foreign languages in android applications?

How to internationalize a TextView on Android, could someone give me an example. <TextView android:id="@+id/textView4" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1"...
asked by 04.04.2015 / 18:01
2
answers

Climatempo to include in the site

Would anyone know if I could find an xml or some script to insert the weather forecast for the beach tabua de tides on my site? I need something like this from this site: link Could you give me a help?     
asked by 24.06.2015 / 13:55
2
answers

Get XML report data in PHP

I have the following report on the XML link: link I would just like to treat it in a very simple way, I tried using something like: <?php $xml = simplexml_load_string("http://api.openweathermap.org/data/2.5/weather?q=Armazem,SC&mod...
asked by 10.05.2014 / 05:16
1
answer

Serialization of lists in C # classes

Good afternoon guys, I'm doing an NFe project to issue, so I opted, after researching using class serialization to mount the xml. Everything works fine, from a class structure that I set xml amount, but in a certain part I needed to implement li...
asked by 28.05.2015 / 20:10
2
answers

"Convert" an HTML list to MySQL with PHP

I have a large HTML list with about 106000 lines of code. Where these lines are records and these records are subdivided into: 6 lines of information about a game (as name and year of publication) 1 line break So, each "record" in my HT...
asked by 10.09.2014 / 07:45