|
by: |
last post by:
How do I read the attributes of this XML? I have a page with text boxes that
i want to read
these values in. notice there are 2 Parameter tags with the same attributes.
Code would help
<TranslationRecords>
<TranslationRecord TrxID="1">
|
by: SQLScott |
last post by:
I have a Web Service in which I am trying to pass an XMLDocument as a
parameter to one of the methods. I would like to use the XMLTextReader to
read the XML but I am getting the following error:
Value of type System.xml.xmldocument cannot be converted to
System.IO.textreader.
I would think this is possible to do.
Code snippet is below:
|
by: Andrew Jacobs |
last post by:
I am using C# to write an application that migrates documents from one
version of an XML schema/DTD to later one. Much of the document has the same
structure in the two versions and I use XMLDocument.ImportNode to copy
unchanged sub-trees between the old and new document but this takes much
longer than it should.
I profiled the code and found that when ImportNode copies an element it
initialises any default attributes defined for the...
|
by: David Grogan |
last post by:
Hi, 2 questions....
1. I'm parsing an XHTML document that contains both the default namespace
(xmlns="http://www.w3.org/1999/xhtml") and a custom one (xmlns:r="...") -
both of these being attributes of <html>. When I then insert new XmlNodes
into the DOM the HTML tags all end up getting an unnecesarry 'xmlns'
attribute added, elements with the 'r' prefix don't, which is correct. Is
there any way to stop the XmlNode/XmlWriter from...
|
by: Jesper Stocholm |
last post by:
I have a database class that maintains data about customers i my system.
The basic XML for this looks like:
<Chunk>
<Vendor>
<Database/>
</Vendor>
</Chunk>
When a user is to be registrered in the system, XML like this is created
|
|
by: David |
last post by:
I need to find a good online resource which teaches the use of the
XmlDocument framework in more depth than is covered in MS's online
doc. I need to create a multi-level XML document like the one listed
below. Using XmlDocument, I can create the <books> and the individual
<name> and <price> elements, but I am unsure how to create the
<category> and <title> elements and close them after creating the
detail elements. Eg. how can I go 2+...
|
by: aaa |
last post by:
Can someone show me a snippet that creates a very simple XML doc with either
a root and chilc nodes or root child nodes, and attributes.
I have looked all around and every example I try I get an error of either:
1. Cannot set a value on node type: Element.
2. Specified argument was out of the range of valid values.
3. This document already has a DocumentElement node.
Here is the code i've been working with:
|
by: Mungo Jerrie |
last post by:
Hi there :-)
I have some problems with the same instance of my xmldocument across 3
different classes. See code below:
class one {
protected static XmlDocument doc = new XmlDocument();
public static XmlDocument getXmlDocument(){
|
by: =?Utf-8?B?RGF2aWRHQg==?= |
last post by:
OK, so I've created and loaded an XMLDocument object.
But how do I go about using it? Specifically, how do I:
1) move to the first node (I assume I start on it when I load the XML?)
2) move to the next node (.read?)
3) move back to a previous node?
Is there a sample program somewhere to show this? (preferably VB.net)
TIA David
|
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: 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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
|