Questions tagged [readxml]

113 questions
0
votes
3 answers

How to adjust width of columns created with "xy.Columns.Add"?

My Form has a fixed size of 1024x600 (dataGridView has 1022 width). When I'm trying to read the XML with this code every Column has the same width and column 10, 11, 12 and 13 are not even shown because they are outside. private void…
0
votes
1 answer

ReadXml from a Resource - Explanation

I've been working on a project (C#) and part of it was filling a data grid with an embedded xml file. Although I've now found a way to make this work, i am still confused as to to theory behind it. And I'd like to stop and make sure i fully…
Reovius
  • 33
  • 1
  • 5
0
votes
0 answers

Java webrowset.readXml() throws SQLException

I have a testWebRowset() with a webRowset object that creates an xml, populates it and manipulates some of the data and then it tries to read the xml file. Definitely not adding or removing columns though... After that it creates another instance of…
TomPoczos
  • 95
  • 1
  • 9
0
votes
1 answer

how to read xml file in array with php

i need to read xml file content to php array this is my xml file : 1 2 3 4 5
0
votes
1 answer
0
votes
1 answer

Load something other than the root node of an XML file using ReadXML

I'm trying to load an XML file into an embedded database (SQLite) using .NET. The best way I've found to do this is to read the data into a DataTable/DataSet and then use a DataAdapter to Update that DataTable into the database table. The problem…
WATYF
  • 409
  • 1
  • 5
  • 16
0
votes
1 answer

How to read whitespace element in XML node from java

Here is my sample code I try to take the above node value as few spaces into java variable, but it gives me an empty string variable. How can I read the contain of xml node as white space
Milinda Bandara
  • 542
  • 8
  • 23
0
votes
2 answers

Visual Basic - read xml error "child list for field cannot be created"

I'm attempting to create a small desktop application (using Visual Studio) that reads xml files from a games resource files. These files are stored in XML. When I try to read the file into a datagridview I receive an error: …
Chris2222000
  • 67
  • 3
  • 12
0
votes
3 answers

C# LINQ to XML - Not Finding Elements or Descendants

I'm having trouble using LINQ to XML to read my xml file. I have attached a portion of the xml schema. -
user2417864
  • 1
  • 1
  • 2
0
votes
1 answer

ReadXml from a Variable SSIS

I'm using a script task to read an xml file and rewrite it to a new xml file using this code: DataSet data = new DataSet(); data.ReadXml("C:\\xml.xml"); data.Tables["Table"].WriteXml("C:\\newxml.xml"); It works fine now my question is how can i…
anonymous1110
  • 885
  • 4
  • 14
  • 28
0
votes
1 answer
0
votes
2 answers

Java: reading and parsing XML file always return null

i have XML file i try to read to a Document object: C:\Python27\python.exe C:\Python32\python.exe xlrd-ok
Aviadjo
  • 635
  • 5
  • 17
  • 36
0
votes
2 answers

Load Xml into Dataset

I'm trying to load a xml (from a webservice) into a dataset. My issue is the xml doesnt always has the same structure. it look like this
7156 FirstArticle zaea.jpg
user1037839
-1
votes
1 answer

Best/Fastest way to find values of a element in a xml file

What my program basically does is that it searches through xml's and returns the filenames of those which have specific values in a element. I guess I have to show you my xml first before I can continue:
baltermia
  • 1,151
  • 1
  • 11
  • 26
-1
votes
1 answer

How to get specified attributes from for loop?

I try to get "Value" String which have the largest value of NumVotes. After that I would like do to simple asserion (I know how to do it), but I have problems how to get this "Value". I don't have idea and knowledge about it. public class…