Questions tagged [readxml]

113 questions
1
vote
3 answers

Read next value in XML file

I have a XML file like that: businessAddress Moka businessName Moka address Id 39 Cat 216
user2274204
  • 315
  • 3
  • 6
  • 18
1
vote
2 answers

C# DataSet.ReadXml() omits some columns

Here is my XML: true James's notebook MS4zfDEvMS9Ob3RlYm9va3wzLjM=
sutekh137
  • 681
  • 1
  • 6
  • 18
1
vote
1 answer

MSBuild XmlPeek task help required

My sample.xml file is below configuration/Settings/add[@key='NetworkPath'][@value] value http://www.google.com I…
Ravneet
  • 11
  • 4
1
vote
3 answers

How do I improve performance of DataSet.ReadXml if I'm using a schema?

I'm have a ADO DataSet that I'm loading from its XML file via ReadXml. The data and the schema are in separate files. Right now, it takes close to 13 seconds to load this DataSet. I can cut this to 700 milliseconds if I don't read the DataSet's…
Robert Rossney
  • 94,622
  • 24
  • 146
  • 218
1
vote
3 answers

vb.net Reading XMLFile

I have a huge XML File (20'000 Rows) and i want to read some Data out of it. I have written an Routine by now. My Question is, is there a way to make it look better? Because i think that's an ugly way to get the Data out of the File. This is the…
Moosli
  • 3,140
  • 2
  • 19
  • 45
1
vote
1 answer

no operator found error with boost read_xml function

I am trying to read an xml file into a ptree using read_xml function as below: read_xml(myFile, myPtree, boost::property_tree::xml_parser::trim_whitespace); Here myFile is an std::string and myPtree is a basic_ptree. It…
ashish g
  • 429
  • 1
  • 7
  • 16
1
vote
2 answers

Read xml on file to dataset error

I tried different things? First try: Here I have this error "Data at the root level is invalid. Line 1, position 1." StringReader StringStream = new StringReader(strFullPath); DataSet ds = new DataSet(); ds.ReadXml(StringStream); Second try: using…
1
vote
0 answers

ArgumentNullException on ReadXML

I have a problem with my DataSet serialization to XML file. Every time I try to load the XML, the ReadXML() function throws the ArgumentNullException. What is interesting, this issue occurs only when I load it to the empty dataset. When I fill…
1
vote
2 answers

Why am I not getting the text in the XML tag? - python elementtree

How do i read the all the text within in the ... tag? And how about the ...<\head> tag within the tag? I've an XML file that looks like this:
alvas
  • 115,346
  • 109
  • 446
  • 738
1
vote
2 answers

C# WinForms Read XML File - Only Specific Nodes

I have an XML File: +447761692278 2009-07-27T15:20:32 Yes Unassigned 0
Goober
  • 13,146
  • 50
  • 126
  • 195
0
votes
1 answer

How to load the last XML file and put in a dataset vb.net

I am stuck again. Please help if any of you can. I am really appreciate it. I am creating XML files and load them back again. I use this following code to write xml to a folder. the code below will put date and time to the file name. and this code…
Laurence
  • 7,633
  • 21
  • 78
  • 129
0
votes
1 answer

Accesing XML inside namespace with attribute CORPORATE

How can I access the XML element nameSur with the Value=Company Name(This is what I want back, just [Company Name]). I keep getting Object reference not set to an instance of an object. in the from children in…
user67144
  • 13
  • 6
0
votes
1 answer

How to deserialzie List of KeyValuePair

My Class implements IXmlSerializable and has a property like this: public List> exportList { get { return _exportList; } set { _exportList = value; } } I have an XML Document and have to fill the…
Kingpin
  • 1,067
  • 2
  • 14
  • 34
0
votes
1 answer

Parsing nested children nodes using pandas.read_xml

I would like to import an xml with nested structure into a pandas dataframe. I include a sample xml
JCF
  • 307
  • 2
  • 17
0
votes
1 answer

Unable to read XML files from Azure Blob container using Pyspark

I am trying to read multiple XML files from Azure blob container using Pyspark. When I am running the script in Azure Synapse notebook, I am getting below error. Note: I have tested the connection using Azure Data Lake Gen 2 linked services (both…
Thiyagu
  • 85
  • 1
  • 12