all groups > dotnet xml > january 2006 > threads for january 29 - 31, 2006
Filter by week: 1 2 3 4 5
how to Merge to xml document ?
Posted by # Cyrille37 # at 1/31/2006 9:47:22 PM
Hello,
I've to merge a peace of xml in another xml document.
Here is an example:
The doc:
<layout>
<win x="0">
<visible>false</visible>
<text>coucou</text>
</win>
</layout>
The other xml peace :
<layout>
<win x="10">
<visible>true</visible>
<backcolor rgb="25,25... more >>
How to change attributes in an xml-file
Posted by Philipp at 1/31/2006 3:20:32 PM
Hi,
I wrote a small c# programm, which generates an xml-string by serializing a
class and sends it to a server. Now I want to change some values in that
xml-string.
The only way for me to do that might be, to deserialize it, change the
particular attribute and serialize it again, to finall... more >>
Eliminate nullable types when serializing...
Posted by christopherkilmer NO[at]SPAM gmail.com at 1/31/2006 10:03:05 AM
I'm doing a little R&D. I've got a simple object:
public class AccountNullable
{
private int? _AcctID;
private string _AcctName;
[XmlElementAttribute(IsNullable = true)]
public int? AcctID
{
get { return _AcctID; }
... more >>
XSD.EXE issue
Posted by Kapil Joshi at 1/31/2006 9:44:28 AM
Hi Folks,
I was trying to import this schema using XSD.EXE tool. After the import into
a C# file, i created an object of type "result" and tried to serialize it to
XML file. This causes an exception to be thrown.
Please could some one let me know what the issue is?
Thanks and Regards,
... more >>
xsl magic
Posted by Jerry Langley at 1/30/2006 12:29:27 PM
I have an xml document containing properties for a group of hyperlinks.
Currently my xsl:stylesheet contains code as follows:
<a href="{concat(/links/@webroot,@url)}" title="My ToolTip Here">
<xsl:value-of select="@name"/></a>
I want to replace "My ToolTip Here" with the contents of the @descr... more >>
Using Xpath functions?
Posted by amessimon at 1/30/2006 12:15:33 PM
Hi, im trying to use the Xpath function "reverse" with an XmlTextReader.
Im not sure if i need to add a namespace to reference this function or
what, if so whats the address of the namespace. Can anyone give me an
idea where i am going wrong here?
So far....
Dim strXmlFeedUrl As String ... more >>
remove my carriage returns
Posted by mgonzales3 at 1/30/2006 12:04:04 PM
i have a xml w/four carriage returns and for some reason this is preventing
me from executing my xpath queries. What is the best way to remove these?
thanks
... more >>
Complex Type Collision with XSD.exe
Posted by brian.gabriel NO[at]SPAM gmail.com at 1/30/2006 10:53:09 AM
I am having difficulty coming up with an elegant solution to a problem
that I am having. I have a web service that processes different types
of requests and return the appropriate response. Each request and
response type has its own schema, and requests and responses are in
different namespace... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Compare two Schemas
Posted by Ganesh Muthuvelu at 1/30/2006 7:18:31 AM
Hello,
How can I compare or visually check the differences between two XML schemas.
Let us say I have two files like "version_1.xsd" and "version_2.xsd" , how
would I programtically find out the differences between these two XSD files?.
Is there a way to do this in .NET?
Thanks,
Ganesh... more >>
how to add namespace prefix declarations to a new XmlDocument
Posted by Andy Fish at 1/30/2006 12:00:00 AM
Hi,
I am creating a new XmlDocument from scratch, but I can't see how I can make
a namespace declaration and associate a prefix with it. For instance in the
following example:
XmlDocument doc = new XmlDocument();
XmlElement el = doc.CreateElement("foo:data");
doc.AppendChild(el);
doc.Sa... more >>
Unknown error in XmlSerializer
Posted by Brecht Yperman at 1/30/2006 12:00:00 AM
Hi,
when calling the XmlSerializer constructor, I get the following error:
Top Level Exception
Type: System.IO.IOException
Message: Unknown Error (-1).
Source: mscorlib
Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String
str)
at System.IO.FileStream..... more >>
How do I display images from an XML doc that are in this format>>
Posted by Lee810 at 1/29/2006 4:50:28 PM
The xml doc has pictures but in the format of a very long character string.
I'm not sure what this format is called so I do not know what type of
converter I should be looking for. May have something to do with base64. I
want to read it from the xml doc and display it in a windows form pict... more >>
|