all groups > dotnet xml > april 2006 > threads for april 8 - 14, 2006
Filter by week: 1 2 3 4 5
RSS feed displays in IE, not in Firefox
Posted by John A Grandy at 4/14/2006 2:31:14 PM
Why would an v2.0 RSS feed that displays fine in IE
6.0.2900.2880.xpsp_sp2_gdr.050301-1519 not display in Firefox v1.5.0.1
??????
... more >>
XmlSerializer and DefaultValue?
Posted by Rasmus Kromann-Larsen at 4/14/2006 10:24:54 AM
Hello,
I'm currently playing around with the XmlSerializer to replace my old
handmade Xml parsing code, but am having a few small issues with
default values and derived classes.
Say we have classes A, B and C:
abstract class A
{
protected int a_value = 1;
[XmlAttribute("value"), ... more >>
Using XMLDocument to load chinese characters
Posted by Hitesh at 4/14/2006 2:02:01 AM
Hi,
I am getting an error while loading a file having Chinese characters. I
am using XMLDocument to parse the XML.
Please let me know if you have any idea about the same
Thanks... more >>
problem with element data type
Posted by kimono at 4/13/2006 7:50:29 PM
I'm using MSXML 4.0 in my application and i have a problem when i try
to retrieve an attribut value with the property
IXMLDOMNode::nodeTypedValue.
in my XML i have the element :
<MyElem x_date="2006-03-16T12:30:30" x_int="6"/>
If i attach an XDR document :
<AttributeType name="x_date" ... more >>
Xml Schema for Business Objects.
Posted by Ashish at 4/13/2006 5:11:41 PM
Is it possible to get the xml schema of a custom business object, and i
am just interested in getting that particular complex type :)
for exaample if i have a clas like
public class Person{
private string fname;
private string lname;
public string FirstName
{
get { return fname... more >>
NewDataSet root element annoyance
Posted by Michael Kolias at 4/13/2006 3:19:35 PM
How can I change the root element of a dataset written to an xml file.
Even though I specify the name of the dataset both in the constructor and by
calling its property
the root element of the xml file is always 'NewDataSet'
Any help would appreciated.
*************************************... more >>
ASP.NET 2.0 Tree Control and Navigation Controls - General Question
Posted by davidwank NO[at]SPAM gmail.com at 4/13/2006 2:54:02 PM
Hi.
Why is it practical to have the ASP.NET navigation controls based on
XML? I would love to just use databinding and then be able to
dynamically update the navgiation menu (e.g. for a product list).
I tried to use a dropdownlist with hyperlinks for navigation (not the
main navigation --... more >>
System.InvalidCastException: Unable to cast object of type 'System.Xml.XmlDocument' to type 'System.String'
Posted by John Smith at 4/13/2006 12:00:00 AM
I'm writing webervice client using .Net 2.0. I have this class:
[System.Web.Services.WebServiceBindingAttribute(Name = "ValidateBinding",
Namespace = "http://example.org/Avtentikacija")]
public class MyWebService : SoapHttpClientProtocol
{
[System.Web.Services.Protocols.SoapDocumentMet... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do Datasets manage to get deserialized as DataSets instead of a wsdl.exe-created proxy class?
Posted by Francisco Garcia at 4/12/2006 4:47:35 PM
Hi!
I have developed both a Web Service and a client application, and they work
fine.
All classes used in the Web Service interface are declared in an assembly
named Entities, that is referenced both in the Web Service and the client
application.
The problem is that the automatically-gen... more >>
what permissions does a windows service need to execute another process? System.Diagnostics.Process process = System.Diagnostics.Process.Start(info);
Posted by Daniel at 4/12/2006 3:47:09 PM
what permissions does a windows service need to execute another process?
System.Diagnostics.Process process = System.Diagnostics.Process.Start(info);
just local administrator? any specific permitions?
... more >>
installation of msxml.
Posted by kimono at 4/12/2006 2:22:10 PM
we’re developing software that uses msxml and i’d like to know what
major microsoft components (.net, mdac, etc.) already install it and
what version of it they install.
... more >>
Programming without XPathNavigator.SelectSingleNode (framework 1.1)
Posted by gustavo_randich NO[at]SPAM yahoo.com.ar at 4/12/2006 6:06:08 AM
Hi, given the following simple XML fragment:
<country>
<code>ES</code>
<description>SPAIN</description>
<destination>
<code>IBZ</code>
<description>IBIZA</description>
</destination>
<destination>
<code>PMI</code>
<description>MALLORCA</description>
</destination>
<desti... more >>
XML deserialization (error)
Posted by John Smith at 4/11/2006 5:16:18 PM
This is what I am trying to do:
FileStream fs = new FileStream("C:\\request1.xml", FileMode.Open);
XmlSerializer x = new XmlSerializer(typeof(PodpisaniDokumentTip));
PodpisaniDokumentTip doc = (PodpisaniDokumentTip)x.Deserialize(fs);
And this is my class (auto generated from WSDL):
[Sys... more >>
XmlIgnoreAttribute() ignoring other attributes then intended
Posted by jamie at 4/11/2006 11:15:14 AM
Perhaps I'm using this wrong. When I use
[System.Xml.Serialization.XmlIgnoreAttribute()] above an attribute I don't
want serialized it ignores the attribute. It also ignores some other
attributes. Have I done something wrong?
Here's the serialization code
public Form1()
{
tes... more >>
default namespace / Xmlvalidatingreader
Posted by Plop69 at 4/11/2006 2:48:59 AM
need some help on following:
xml file 1
<TEST xmlns=3D"http://test" >
<OK>mlkddflmkj</OK>
</TEST>
xml file 2
<TEST>
<OK>mlkddflmkj</OK>
</TEST>
at runtime i add the necessary xsd schema's.
now, these are files i receive from customer, so i can't change them.
Wh... more >>
XmlValidatingReader / Default Namespace
Posted by Plop69 at 4/11/2006 2:45:46 AM
need some help on following:
xml file 1
<TEST xmlns="http://test" >
<OK>mlkddflmkj</OK>
</TEST>
xml file 2
<TEST>
<OK>mlkddflmkj</OK>
</TEST>
at runtime i add the necessary xsd schema's.
now, these are files i receive from customer, so i can't change them.
When i read ... more >>
Creating HTML from an XML and XSLT
Posted by Thom Anderson at 4/10/2006 3:14:39 PM
Hi, I'm a newbee at XML so I need to ask this. I have an xml data like
follows.
<?xml version="1.0" encoding="utf-8" ?>
<salesRep repnum="123" orgdate="16">
<fname>Joe</fname>
<lname>Jones</lname>
<active>1</active>
<jobtitle>Sales Manager</jobtitle>
<alternateRepNumb... more >>
Wanting to not add a blank element to the XML
Posted by jamie at 4/10/2006 12:36:57 PM
I'm serializing a class and some of the elements end up with blank results.
This is fine. When I serialize the class the elements show up in the
resulting XML as something like
<SigningLicence/>
If it's blank how can I prevent this element from getting into the XML
completely . It is opt... more >>
bind menu control with an xml dataset
Posted by cipcip at 4/10/2006 10:39:48 AM
hi,
is there a way to bind a menu control with a dataset without get this
error?
System.InvalidOperationException: HierarchicalDataBoundControl only
accepts data sources that implement IHierarchicalDataSource or
IHierarchicalEnumerable.
I've tryed this , but it doesn't render correc... more >>
SelectNodes return all nodes when namespace is defined
Posted by Woon Kiat at 4/8/2006 3:25:25 AM
I have this Xml file, bookstore.xml
<Bookstore xmlns="http://www.book.com">
<Shelve index="1">
<Book name="Da Vinci Code" />
</Shelve>
<Shelve index="2">
<Book name="The Holy Grail" />
</Shelve>
<Shelve index="3">
<Book name="The Pragmatic Progr... more >>
|