|
by: John Brock |
last post by:
I have a base class with several derived classes (I'm writing in
VB.NET). I want each derived class to have a unique class ID (a
String), and I want the derived classes to inherit from the base
class *Shared* methods which make use of the class ID.
So I gave the base class a classID field, and then I gave the
derived classes Shared constructors, which I used to set the classID
field to the appropriate values for each derived class. But...
|
by: Brian Rogers |
last post by:
To whom it may concern:
Can anyone explain this behaviour in serialization and deserialization?
I serialize an object using an XML serializer.
I de-serialize the object from a StringReader and it deserializes correctly
I de-serialize the object from a XmlNodeReader and it deserializes
incorrectly.
The xml code contained in the StringReader and XmlNodeReader is IDENTICLE.
|
by: Andy Neilson |
last post by:
I've run across a strange behaviour with XmlSerializer that I'm unable to explain. I came across this while trying to use XmlSerializer to deserialize from a the details of a SoapException. This should have worked fine since the class in question was already being serialized and deserialized as part of a Web service interface. What I found was that by deserializing from an XmlNodeReader instead of an XmlTextReader, XML Serialization doesn't work...
|
by: Kris Desmadryl |
last post by:
I want to loop all nodes of an xml file, because I want to search the
content for a certain search pattern.
I did something like this :
reader = New XmlNodeReader(doc)
While reader.Read()
Select Case reader.NodeType
Case XmlNodeType.Element
Select Case reader.Name
Case "al"
Dim value As String
|
by: AK |
last post by:
I tried to google "skip scan DB2" but came up with nothing.
Does DB2 have the feature under a different name?
|
|
by: David |
last post by:
All
I have an XML document as illustrated in the extract below. I am trying to
use the XmlNodeReader to extract information from the document. What I am
having trouble with is when I read the line of the document I am unable to
read the value of the element. Below is an extract of the source code that I
am using to read the other parts of the document that I want to extract. Any
assistance would be appreciated.
Thanks
|
by: Samuel R. Neff |
last post by:
I'm deserializing an XML file. If I pass a Stream to the file
directly to the deserializer as follows it works fine:
o = (New XmlSerializer( GetType(
CompensationPackage))).Deserialize(stream)
But if I pass an XmlNodeReader to the deserializer it doesn't work:
|
by: adhag |
last post by:
Hi
I am trying to parse through a large file in pieces using the xmlNodeReader.
I only need it to be forward only and performance is the key but I am having
a problem trying to get all the information out of my xml file.
For arguments sake my sample xml file looks like this
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<row value="123">
<errorcol e_w_flag="e" value="10003" col="5"/>
|
by: WalterWalt |
last post by:
Below is a part of my xml file returned from a webservice. Instead of
converting to a datatable and going through it a record at a time checking
if ClientCodeType = "Balloon_Type" and ClientCode = "R" to the OurCode of 3,
I want to use the XMLNodeReader to get that result back using MoveTo..
functions. My first of probably many question is how come this
XMLNodeReader has no attributes. I can not change the way the webservice
returns the...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|