all groups > dotnet xml > may 2006 > threads for may 22 - 28, 2006
Filter by week: 1 2 3 4 5
XML Request & Response & ASP.NET 2.0
Posted by ss at 5/28/2006 11:05:01 PM
Hi,
I would like to know like in ASP.NET 2.0 or .net version 2.0, how do I parse
the XML and consume it?.
right now I am using the old methods like XML DOM.
second thing is I need to send a XML Request to some URL, inturn I will be
getting the response Back in the form of XML ONLY.
... more >>
VS2005 XML Template?
Posted by mscdex NO[at]SPAM gmail.com at 5/26/2006 12:52:08 PM
I've done some researching on the net and I keep seeing references to
an XML/XSLT Template in the New/Add Project dialog window, however I do
not see such a template in the dialog window. I tried checking
add/remove components after reinserting the VS2005 disc, but no mention
of extra templates.... more >>
Code Generator that writes code to generate an XML doc structure?
Posted by joshblair at 5/25/2006 3:14:54 PM
Hello,
Has anyone ever seen or created such a code generator?
I'm looking for a sample of a code generator that will generate code
(preferably one that uses C# and the XMLTextWriter) to create an XML
document structure based on an XML file as input.
I have to build some classes that allow... more >>
Using XMLTextWriter (or related tool) to write to a string?
Posted by darrel at 5/25/2006 2:13:01 PM
We've been using xmltextwriter to write XML files to the filesystem. For
various reasons, we're ditching the filesystem and want to store the XML as
text in a DB field.
Looking at all the examples of using the XMLTextWriter, however, it appears
that it is used solely for writing directly to... more >>
Implementation of context using xpath for treeview (c#)
Posted by orit at 5/25/2006 4:00:01 AM
I have the following xml:
<?xml version="1.0" ?>
<course>
<globalProperties>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
</externalMetadata>
</globalProperties>
<block id="B1">
<identification>
<title>Yes/No Questions</title>
<descripti... more >>
xpath syntax
Posted by orit at 5/24/2006 11:50:02 AM
I have the following xml:
<?xml version="1.0" ?>
<course>
<globalProperties>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
</externalMetadata>
</globalProperties>
<block id="B1">
<identification>
<title>Yes/No Questions</title>
<descripti... more >>
How do I load the XML got by HttpWebResponse read into a StreamRea
Posted by ss at 5/24/2006 7:21:02 AM
Hi,
I would like to know like How do I load the XML Response which I got from
HttpWebResponse?
What I am doing, I will just put for your perusal;
Dim hwrRequest As HttpWebRequest =
CType(HttpWebRequest.Create("https://someurl"), HttpWebRequest)
hwrRequest.Method = "... more >>
Is it possible to use regular expressions inside of an xpath statement executed by System.Xml.XmlDocument.SelectSingleNode() ?
Posted by Daniel at 5/23/2006 5:43:49 PM
Is it possible to use regular expressions inside of an xpath statement
executed by System.Xml.XmlDocument.SelectSingleNode() ?
string sdoc = "<foo><bar a='1'/><bar a='2'/></foo>";
System.Xml.XmlDocument pdoc = new System.Xml.XmlDocument();
pdoc.LoadXml(sdoc);
System.Xml.XmlNode p... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to get first grandparent attribute not nodeset?
Posted by K B at 5/23/2006 5:17:57 PM
Hi,
I'm using this...
//Role[@UserName='kburke'][not(@finish)]/../../@Name
but it returns more than one result. I need the FIRST grandparent @Name
returned. I've tried:
//Role[@UserName='kburke'][not(@finish)]/../../item[1]/@Name and
variations of last() but haven't gotten it yet.
... more >>
"this is an unexpected token" error
Posted by lisa NO[at]SPAM starways.net at 5/23/2006 1:08:46 PM
I have an XML file that starts like this:
<?xml version="1.0" encoding="ISO-8859-1"
xmlns:fn="http://www.w3.org/2005/xpath-functions"?>
<Authors>
<Author>
<ID>2</ID>
<UserName>Whoever</UserName>
<Title>Whatever</Title>
<Internet>email</Internet>
<Office>email</Office>
</Autho... more >>
Working with multiple namespaces
Posted by daz_oldham at 5/23/2006 3:47:32 AM
Hi Everyone
I was wondering if anyone knew of a good guide to working with multiple
namespaces under .NET? And also help me with my latest poser.
As you may have calculated by my other posts, I am working under a lot
of new technologies that I didn't realise I would be when I took the
job ... more >>
problem processing SOAP response
Posted by Robbert van Geldrop at 5/23/2006 2:04:02 AM
Hello,
I have a problem consuming a WebService which appears to be dependent of the
type of network I am on:
The following SOAP response is not processed when I am connected over the
internet with the WebService but it is processed correctly when I am on the
local LAN:
Can it have som... more >>
Creating DTD using DOM
Posted by Michel Verhagen at 5/23/2006 12:00:00 AM
Hi,
I want to create a DTD in an XML file in memory. The XML file is created
using the DOM in C#. I am new to all this, but couldn't find anything
about creating DTD's using the DOM (well, I found some references but it
doesn't tell me how to do what I want).
Here's my code:
XmlDocume... more >>
Almost there - Just need some type of "equals" statement
Posted by Rob at 5/22/2006 9:51:57 PM
The code below is almost there (it does change the value for EVERY
ORDER)....
I simply want to be able to change the value of the Delivered Tag to Yes.
BUT ONLY if the Order is equal to 123456 ?
<?xml version="1.0" encoding="UTF-8" ?>
- <AllOrders>
- <Order OrderId="123456">
<Route>... more >>
XPath XmlNodeList documentation - apparent contradition
Posted by SkyHook at 5/22/2006 7:00:03 PM
1. Under the topic "Select Nodes Using XPath Navigation" it says:
"All XmlNodeList objects are synchronized with the underlying document,
therefore if you ... modify the value of a node, that node is updated in the
document it came from."
2. Under the topic "XmlNode.SelectNodes Method (Strin... more >>
How to edit a value of an element in an XML document ?
Posted by Rob at 5/22/2006 12:15:09 PM
First of all, I am using VB.net within the compact framework for programing
a PDA...
I am trying to modify the value of an item in an xml document...
The only samples I see use the doc.SelectNodes method. When I try using
this I get an error stating that "SelectNodes" is not a member of
... more >>
Insert XML string into XML File: Part 2
Posted by SteveW at 5/22/2006 2:15:25 AM
Thanks to some good help from a previous post, I have been able to create
well formed xml as part of a report logger app. However, I still have a
small problem. When I add new xml to the log file, the new nodes are
appended to the original file. What I really want is for the log file to
grow... more >>
|