all groups > dotnet xml > june 2004 > threads for june 29 - 30, 2004
Filter by week: 1 2 3 4 5
Reading and writing an XML file
Posted by Marco Rispoli at 6/30/2004 10:06:03 PM
Hello folks!
I have to read an XML file, add some elements and write it back.
I seem to have no problem doing the first 2 things but then I get
The process cannot access the file "c:/file.xml" because it is being used by
another process.
... when I try to do the third thing: saving.
... more >>
XPathNodeIterator.Current.GetAttribute
Posted by John A Grandy at 6/30/2004 9:16:09 PM
XPathNodeIterator.Current.GetAttribute(localName As String, namespaceURI As
String)
i believe that localName should be set equal to the name of the attribute.
but what should namespaceURI be set equal to ?
... more >>
removing nodes from xmldocument
Posted by e-mid at 6/30/2004 7:23:09 PM
Here is an xml structure. i want to remove <a> nodes that do not have any
child. How can i do that in csharp?
<root>
<a>
<b/>
</a>
<a/>
<a/>
<a>
<c/>
</a>
</root>
i tried following but it does not work:
xmlNodeList l = xr.getElementsB... more >>
Passing XML to webservice
Posted by elmerblues71 NO[at]SPAM hotmail.com at 6/30/2004 8:06:38 AM
I have a customer who wants to send us a XML message like this:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<PurchaseOrder xmlns="http://tempuri.org/">
<OrderHeader>
<PONumber>10464</PONumber>
... more >>
Newbie needs a tutorial on reading from and writing to nodes in an XML file
Posted by David Hearn at 6/30/2004 7:58:26 AM
I have an ASP.NET app that I am writing using VB.NET and I want to use an
XML file to store configuration settings in sort of like the way I used to
use an .INI file for in Windows apps. When the user opens a page, it needs
to go read certain settings out of the file and fill textboxes and oth... more >>
Path of an XML node
Posted by The Clansman at 6/29/2004 8:04:49 PM
Hi,
how do I get the path of an XML node?
I have:
Dim xmlNo As XmlNode = xml.SelectSingleNode("//Category[@Id='" & CategoryID
& "']")
I want to get the path of the xmlNo:
i.e.
Categories\Video games\Nintendo 64\Games\
thanks,
Bruno
... more >>
using appendChild using XmlDocument without indentation
Posted by TS at 6/29/2004 11:27:23 AM
HI, is there any option while using appendChild so that it doesn't do the
autotomatic indentation and line breaks so that the tags are appended back
to back?
thanks
... more >>
XmlSerializer Collection with Collections
Posted by yurps NO[at]SPAM yahoo.co.uk at 6/29/2004 8:56:26 AM
Hello I got this working but it is not how I really want it, basically
I have an xml file which has a root of <test> and can be filled with 3
different types of <question> elements with different attributes, all
share a base set of 4, one of the question types can have children
with <option> ele... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do you generate classes from an .xsd file?? newbie question
Posted by burak.gunay NO[at]SPAM xpandcorp.com at 6/29/2004 8:22:38 AM
Hello,
I am working on a VB.NET web service that will be used to send and
receive job openings.
I found a site called "hr-xml consortium"
"The HR-XML Consortium is an independent, non-profit organization
dedicated to the development and promotion of a standard suite of XML
specificat... more >>
|