Questions tagged [readxml]

113 questions
0
votes
2 answers

read specific single element value from xml using vb

I am trying to read specific element value from below xml:
usmanharoon
  • 173
  • 2
  • 13
0
votes
2 answers

How to read XML String with Java DOM Parser ? Poll, results

I tried to parse data XML String from this API https://www.boardgamegeek.com/xmlapi/boardgame/13/catan for 2 days without success. I would like to get all language dependences with names and values. Understanding this XML by the word poll and…
0
votes
1 answer

JDBC / WebRowSet: readXml(Reader reader) vs. readXml(InputStream iStream)

Here is a simplistic example for reading xml-file into WebRowSet object and then loading data from it to database. import javax.sql.rowset.RowSetProvider; import javax.sql.rowset.WebRowSet; import javax.sql.rowset.spi.SyncProviderException; import…
escudero380
  • 536
  • 2
  • 7
  • 25
0
votes
1 answer

C# ReadXML with Rectangle

I have a dataset, "AllEventData", and in that dataset is (for the moment) only one table called buttonData. It has 3 columns - an autoincrementing number primary key, a name (typeof(string)), and a rectangle. The third column is specifically…
TulsaNewbie
  • 382
  • 3
  • 15
0
votes
0 answers

Issues on saving XML file after loading it on application startup

I have a tracking program that saves a hidden XML file during a save or auto save in case the user accidentally closes the program and needs to load it back up. It is imported into a dataset and data table. Here's the code for the WriteXML and…
The57thGamer
  • 13
  • 1
  • 3
0
votes
1 answer

How to properly create custom XML elements?

I'm recently working on a Weather Application that I want to save every customer search in an .xml formatted file. . . See GUI Design Here . . I'm using the following code on Java to write the needed elements on the .xml file but the issue is that I…
Loizos Vasileiou
  • 674
  • 10
  • 37
0
votes
1 answer

How to extract a element value from XML String using windows batch script?

I am trying to extract a element value from a xml output string using batch. Have used below code , it is working fine with fomatted xml lines and not on single xml string. For e.g: Formatted xml:*
0
votes
1 answer

WriteXML, ReadXML Issue with Table Name

I have a program where I run a query and store data in a DataTable. I then allow the user to save that DataTable.WriteXML. The problem I have is that I want to read that saved file (XML file) into another DataTable with a different name - and it…
0
votes
0 answers

System.Net.WebException exception - "The request was aborted. Could not create SSL/TLS secure channel"

I saw a lot of answers but it didn't work!!!!! Here is my code: List> lstItemsIndexC = new List>(); XmlDocument xmlDoc = new XmlDocument(); …
Rachel
  • 31
  • 1
  • 1
  • 3
0
votes
0 answers

Plotting map - time to arrive - between 2 points

I have an xml file, generated with the distance and time data of an api request. How to read this xml? I need to show only the time in an html or php. Do you know the way?
Andre
  • 1
  • 1
0
votes
1 answer

c# reading xml to listview

Write XML code XmlTextWriter xmlchat = new XmlTextWriter("chatroomdoc.xml", UTF8Encoding.UTF8); xmlchat.WriteStartDocument(); xmlchat.Formatting = Formatting.Indented; xmlchat.WriteStartElement("Chat"); foreach…
0
votes
1 answer

XML parsing: Object reference not set to an instance of an object

I am parsing XML in a dataset it works fine except with some RSSs it gives an error: Object reference not set to an instance of an object. I tried the XmlDataSource and it gives the same error Note that there isn't any differences between the…
Miroo
  • 795
  • 3
  • 13
  • 35
0
votes
1 answer

the type name text does not exist in the type xmlnodetype

I am trying to read a certain section from an xml file in C#. I tried using this code here but I get a compiler error under the Text in XmlNodeType.Text but the weird thing is it comes up with intellisense and gives the same error with everything…
WhatsThePoint
  • 3,395
  • 8
  • 31
  • 53
0
votes
1 answer

read dimension from xml

I've read and tried a few answers that I found in stackoverflow but the ones I found didn't work. I've the following dimensions (1+2 for portrait button height\width and 3+4 for landscape). I just want the button size to be smaller in landscape…
Maor Cohen
  • 936
  • 2
  • 18
  • 33
0
votes
1 answer

Find XML child nodes of specific node and insert it in DataTable

I have this Style XML: