all groups > dotnet xml > april 2005 > threads for april 8 - 14, 2005
Filter by week: 1 2 3 4 5
XMLSerialization Suppress Element Name to Mimic HTML Anchor Tag
Posted by Todd at 4/14/2005 1:22:45 PM
I am trying to mimic the html anchor tag. I have created a class;
Public Class anchor
<XmlAttributeAttribute()> _
Public href As String
Public title As String
End Class
and get the following XML;
<a href="http://www.GM.com">
<title>GM</title>
</a>
when I would like... more >>
xmlSerializer & xmlAttrbuteOverrides
Posted by Zion Zadik at 4/14/2005 9:36:47 AM
Dear all,
I have a set of c# data classes wich i need to fill their data from xml =
files. serialization looks to be the best way to accomplish this task.=20
Since the data classes are compiled and i don't have control on the xml =
structure, I tried using the xmlAttributeOverrides class, to i... more >>
Best way to get the value of one particular node of an XML string
Posted by Scott M. Lyon at 4/14/2005 8:12:14 AM
I'm trying to figure out the best way (considering there could be instances
where I get a lot of data in this XML, and I want to minimize any slowdowns)
to extract the value of one particular node from an XML string (not saved as
a file, but passed as a string from another module).
For ex... more >>
help with SelectSingleNode
Posted by buildweb NO[at]SPAM infinito.it at 4/14/2005 1:22:04 AM
Hi, I've xml file like this:
<?xml version="1.0" encoding="utf-8" ?>
<strings>
<component name="commesse">
<form name="dettagli">
<data name="open" description="">Open</data>
<data name="close" description="">Close</data>
<data name="exit" description="">Exit</data>
</form>
... more >>
Yahoo API and XPath problem
Posted by Someone at 4/12/2005 7:41:41 PM
Using C#, ASP.NET
I'm trying to implement Yahoo search API. I can sent the HTTP request and
get back the results. The problem I have is that I don't know how to use
XPath with the results than comes back. I coded XPath before successfully,
but Yahoo XML is a bit more complex.
Here is par... more >>
XSLT for WinForms?
Posted by Evan Stone at 4/12/2005 11:37:47 AM
Hello All,
I was just curious to see if there was some analog to XSLT in WinForms.
I'd like to be able to have my data be defined in XML, then process it
with some kind of style sheet/transformation to dyamically "render"
forms and their constituent controls on-the-fly.
Would XAML fit th... more >>
Posting XML to Server from ASP.NET/C# webapp
Posted by Rich Williams at 4/12/2005 9:03:02 AM
Hi All,
I am trying to build an class that will POST XML to a merchant Gateway. The
XML represents a customer transaction. I have no idea how to go about posting
anything other then a collection of name value pairs. Can someone please give
me a hand. I have been searching for a few days. I'... more >>
SOAP Call Retrieval
Posted by TC at 4/12/2005 3:37:00 AM
Hello,
I have been asked to port a VB6 / SOAP SDK app to C# .Net using web services
and do it quickly. I have a remote SOAP interface that I've referenced and
can now call methods on.
What I am unsure of is how such items below from the SOAP SDK transfer to
..Net:
.Reader.RPCResul... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XmlDocument.SelectSingleNode XPathException
Posted by David Thielen at 4/11/2005 8:30:02 PM
Hi;
I am calling SelectSingleNode("/xml/s:Schema/s:ElementType/@name") where
"/xml/s:Schema/s:ElementType/@name is a legit xpath statement (xml is the
name of the rootnode) and that xpath statement works fine on the document in
XmlSpy.
However, when I call this is .NET 1.1, I get the fol... more >>
Plase help with Deserialization exception
Posted by Roy Chastain at 4/11/2005 2:25:05 PM
The following code fails with an exception of
"There is an error in XML document (2, 2)." string with an inner exception of "Value cannot be null.\r\nParameter name: input"
string. The inner exception has a strack trace of " at System.Text.RegularExpressions.Regex.Split(String input, Int32
c... more >>
Mime and attachments
Posted by NM at 4/11/2005 1:43:01 PM
I need an advise on how to proceed.
My understanding is that .net doesn't support mime and attachment web
services.
First question, is that true?
If thats true, is there any tip or how-to document if I really need to
access that kind of service? Attachments using mime is quite documented in ... more >>
How to get XML file from web page
Posted by Newton at 4/11/2005 3:41:02 AM
Hi,
I am making my diploma project and I have following problem...
I am programming in Visual studio ASP.NET using C#. I am using Visual Studio
environment, so I am writing only handlers for buttons and other components.
I would like to make that if user will click on button on my web p... more >>
LoadXML and UTF-8 encoding
Posted by jmgonet NO[at]SPAM yahoo.com at 4/11/2005 1:58:53 AM
Hello everybody,
I'm having troubles loading a Xml string encoded in UTF-8.
If I try this code:
------------------------------
XmlDocument doc=new XmlDocument();
String s="<?xml version=\"1.0\" encoding=\"utf-8\"
standalone=\"yes\"?><a>Schönbühl</a>";
doc.LoadXml(s);
doc.Save("d:\\temp\\... more >>
Easiest way to generate XML in VB.NET
Posted by Scott M. Lyon at 4/8/2005 4:04:55 PM
Quick (hopefully easy) question for you guys.
What is going to be the quickest/easiest way to generate XML from VB.NET?
Note: I don't mean an XML file, but XML in memory somehow (an XML-related
object, but one that would have a method for getting the fully-formed XML
back out again).
... more >>
xsd.exe schema documentation...
Posted by jojobar at 4/8/2005 1:47:06 PM
Hi!
I am creating schema directly from the .net assembly using the xsd.exe tool.
Now I would like to annotate the schema (using xs:annotation and
xs:documentation etc.). The C# file that created the assembly has comments in
it. Is it possible to somehow import these comments into the genera... more >>
single quote in xpath
Posted by Vivek at 4/8/2005 10:03:14 AM
hi,
I've an xml like this..
<REPORT>
<ITEM name="Children's hospital"/>
<ITEM name="AJ Hospital"/>
</REPORT>
I tried the following xpath to find the node...
XMLDoc.Load (--load above xml--);
string ItemName = "Children's ho... more >>
Converting dataset to XML
Posted by Rohit D via .NET 247 at 4/8/2005 5:48:58 AM
(Type your message here)
--------------------------------
From: Rohit D
Hi All,
I have a dataset and want to write a standard code in vb=2Enet for=
converting that dataset to an heirarchical XML that refers to an=
XML schema so that i can finally deserialize the xml to the=
class ob... more >>
Reading Xml in DataSet
Posted by binvij at 4/8/2005 2:21:01 AM
Hi Guys ! I want your views on this
An xml file can be loaded into a dataset in the following ways:
XmlTextReader reader = new XmlTextReader("inrss.xml");
DataSet ds = new DataSet();
ds.Load(reader);
OR
string fileName = "inrss.xml";
DataSet ds = new DataSet();
ds.Load(fileName)... more >>
how to process a node, even if it has NO childNodes
Posted by chris yoker via DotNetMonster.com at 4/8/2005 12:00:00 AM
hiya,
I have a function that replaces the nodenames in an xmlFile.
I use a while loop.The problem is, if the element has no childNodes, then
it isn't replaced.I want ALL the elements to be replaced..REGARDLESS of
whether they have childNodes
<code>
For Each oldElement In nodeList
D... more >>
XPath 2.0 & XQuery 1.0
Posted by Philipp Schumann at 4/8/2005 12:00:00 AM
Hi .NET XML fans,
does anyone know ad hoc whether support for the above standards is planned
for .NET 2.0?
I suppose this would be extremely valuable for many folks...
Thanks,
Phil
... more >>
|