Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007


all groups > dotnet xml > june 2004 > threads for june 1 - 7, 2004

Filter by week: 1 2 3 4 5

Skip HTML Tags while searching
Posted by anand at 6/7/2004 9:37:04 PM
Hello Group , I am making a search programe in which i have to make a search in an HTML document .Now i am having entire html code in a field of table where i search.Now my issue is that i want to avoid searching of html tags like <td>, <tr> etc, i.e. when user searches these tags i wand to disp...more >>

Xsl extension function and type coersion in .Net?
Posted by Mark at 6/7/2004 12:21:02 PM
Hi.. I have a c# class that i'm using to implement some extension functions and one of those functions is a simple push/pop stack. I made the c# code fairly generic, taking and returning objects - i.e public void push (object val { stack.Push (val) public object pop ( { return stack.Pop(...more >>

XmlValidatingReader DTD validation
Posted by Vlad at 6/7/2004 12:04:40 PM
I have the following code: I have a local copy of the DTD that I need to validate incoming XML documents against. The XML document has the <!DOCTYPE myname SYSTEM "myfile.dtd"> define. When the following code is executed the XML gets resolved through the XMLResolver and gets correctly validated...more >>

Displaying XML Stream on ASP.NET Page
Posted by ab7819 NO[at]SPAM yahoo.com at 6/7/2004 8:27:57 AM
I am writing an application which will get stream of XML Data from a CRM application. I am able to make HTTP request and retrieve the xml stream in XML Text Reader. I want to display this data on an ASP.NET page. I have done some research and found that there is XML Web Server control in ASP....more >>

Use of XML in Document Repository
Posted by jm95 NO[at]SPAM drexel.edu at 6/5/2004 7:55:44 PM
Hi, I'm very new to XML and have been reading all of the things I could about it as I can. I'm currently involved in developing a central document repository that is searchable and cosiists of different document types, such as Word, PDF, text, etc. I understand that I can develop metadata XML...more >>

XmlSerializer help
Posted by Timothy V at 6/5/2004 2:15:12 PM
Hi, I have a class: public class Note { public string name; public string information; } And i Serialize this class, but want to Serialize it to an XmlDocument which will contain many of these elements. How do i do this? Thank you, Tim. ...more >>

XmlDocument.LoadXml Errors with &amp in string
Posted by Eric Zechman via .NET 247 at 6/5/2004 12:21:40 PM
I have a project in which I get xml posted via a hidden form field (data=<xml></xml>). People are entering names like Bill & Sandy Smith. this is coming over as: <NameInfo><FamilyName><FamilyNames>David &amp; Karen</FamilyNames><Surname>Adams</Surname></FamilyName></NameInfo> When I try to lo...more >>

read a part of file xml
Posted by Fabrizio Di Giovambattista via .NET 247 at 6/5/2004 12:20:14 PM
(Type your message here) -------------------------------- From: Fabrizio Di Giovambattista Good evening, I can read a part of xml file and i must create an xmldocument with it. Thanks ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>dBg4BdWo30u...more >>



Using XmlRootAttribute for deserialization
Posted by Keith Patrick at 6/4/2004 10:47:40 PM
I've seen this come up before, but in my case, things are a little more complex, and I'm having a tough time figuring out how to set an element name that works. I have a configuration file that is my serialized object (I'm using a customer deserializer to add some more XAML-like capabilities): ...more >>

xsd.exe and XmlType?
Posted by Bradley Plett at 6/4/2004 6:12:11 PM
I have a relatively simple xsd which I am turning into a class using "xsd.exe". I then create a collection of these classes. I have run into one minor problem. When serializing my collection, I would like the names of the elements to be different from the class name as generated by xsd.exe. ...more >>

Adding attributes to nodes...
Posted by Maersa at 6/4/2004 3:43:50 PM
hi, i'm trying to add "attributes" to some nodes and it works at design time but fails at runtime. XmlDocument doc = new XmlDocument(); XmlElement elem = doc.CreateElement( "root" ); elem.InnerXml = "<first>abcde</first><last>1234</last>"; Now, what I'd like to do here is, go thro...more >>

Build up xpath dynamically in xslt
Posted by Joe Gass at 6/4/2004 2:13:08 PM
After a bit of research I think what I'm trying to do with xslt can't be done, but someone may have some pointers. I have 2 sections in my xml - 1 with properties the 2nd with image path data each property can have more than 1 set of image path nodes What I'm trying to do is transform the pr...more >>

XPath expression with namespace
Posted by KB at 6/4/2004 11:32:20 AM
Hello I am trying to use SelectSingleNode in an XMLDocument for a node that has namespace defined. My problem is the XPath for the node with no namespace defined works as soon as I put namespace it returns nothing. Help KB...more >>

Locate XML Root - Easy way?
Posted by Rich Wallace at 6/4/2004 11:03:18 AM
Hi all, My application accepts an XML document via MSMQ....The first thing I need to do is figure out what the name of the root element is..is there a fairly easy way to do this using XmlTextReader or XPath? TIA -Rich ...more >>

.Net XmlValidatingReader should fail on complextypes with whitespace?
Posted by Larry at 6/4/2004 8:00:32 AM
I believe the .Net XmlValidatingReader should fail when validating XML that contains a ComplexType element with white space when the ComplexType element has the mixed attribute set to false in the XSD used for validation. XSD fragment: <xs:element name="TRSellerBuyerData"> <xs:complexT...more >>

XmlSchema.Read -> nothing happens
Posted by stefan NO[at]SPAM vemendo.se at 6/4/2004 7:22:31 AM
Hi, I'm trying to load a schema into an XmlSchema object with the Read and Compile methods. I use Read with a ValidationEventHandler. No errors occurs but when I look at the XmlSchema properties it contains NOTHING. The schema file is correct because I can use it to validate xmldocuments with...more >>

Error loading XML into DataSet
Posted by kbolster20 NO[at]SPAM yahoo.com at 6/4/2004 6:30:04 AM
Hello, When I try to load this xml file (see below) into an asp.net dataset using the following code: ds.ReadXml("xmlfilepath\xmlfile.xml", XmlReadMode.Auto) I get the following error: "The same table (description) cannot be the child table in two nested relations. " If I take out t...more >>

Getting the XML as text between two nodes
Posted by Pavils Jurjans at 6/3/2004 1:20:41 PM
Hello, I am interested in getting the XML contents as text between two XML elements that I know follow each other. They could be in completely different levels, but in XML file the first is above the second. Of course, a code could be written that would first read InnerXml property of the star...more >>

A question about XML Tags
Posted by Jony Joe at 6/3/2004 12:31:43 PM
Dear All; I am a biginner in XML. Currently I am developing a service for CISCO IP Phone using ASP.Net. The CISCO IP Phone service has to be developed using XML Tags. For examlpe the CISCO IP Phone Input takes the following form <CiscoIPPhoneInput> <Title>Directory title goes here</Title> <P...more >>

Boolean value using XSD/XML
Posted by Simon Jefferies at 6/3/2004 12:01:08 PM
Hello, I've created an XSD file with the following in it: <xs:attribute name="Enabled" form="unqualified" type="xs:boolean" /> I am trying to set the XML to match this format, but how/what is the format for a boolean value? E.g. <..name.. Enabled=??? /> What do I put in the ??? to ...more >>

Displaying XML
Posted by elora_c NO[at]SPAM yahoo.com at 6/3/2004 11:26:46 AM
There have been lots of posts on this topic, but I haven't been able to apply any of the suggestions to my situation. I have an .aspx page with a form on it that has several submit buttons on it. Clicking a button will cause a web service action that returns XML. I would like to display this...more >>

Importing Selected Data from XML
Posted by lee.ottaway NO[at]SPAM nuesoft.co.uk at 6/3/2004 1:48:37 AM
In order to achieve the archiving of old data from my database I have exported the information from my dataset to an XML file using the standard WriteXML method of the object. Now suppose in the future I wish to restore only specific records (which all have a unique reference) from that file ba...more >>

problem rowfilter with xml
Posted by Phong Pham at 6/2/2004 11:57:34 AM
Hi! I need to search an xml file for a <symbol>FO</symbol> being passed from a query string. here's my sample xml file (original xml file is generated from a mainframe): <stock> <Filter> <name>Filter1</name> </Filter> <Filter> <name>Filter2</name> </Filter>...more >>

Change Namespace Prefix
Posted by Frank Wilson at 6/2/2004 11:49:32 AM
Is there a way to change the namespace prefix of a document? I am sending a document to an application that requires that every element be prefixed with "sm". My inbound document has every element prefixed with "ns0". Is there way to do this without looping through every node? Thanks, Fran...more >>

Signed-signed xml-doc and xsd
Posted by Jon G at 6/2/2004 10:22:07 AM
Hi, I´m a bit of a newbie when it comes to xml but here goes: I am using the SignedXml-class to construct a signed xmldoc which in turn contains 1 or more signed xml-doc which creates the following structure (edited of course): <Signature xmlns:xd="Whatever"> <Object Id="A uri"> ...more >>

XML as general-purpose database?
Posted by Ottar Smidesang Holstad at 6/1/2004 3:51:16 PM
Hi! I'm coming from building desktop applications using Borland Delphi (Win32) with embedded databases (compiled into the executable). While I find this a very powerfull combo, I'm looking into how I would want to make those kind of applications using C#. As I can't offer potential customers any ...more >>

XML deserialization from string
Posted by tsampath NO[at]SPAM gmail.com at 6/1/2004 2:57:58 PM
Hi, I have an XSD and created a VB.NET class file from it. When I have an XML file (conforming to the schema), it is straight forward to deserialize using the class file. I am looking for ways to deserialize when I have the XML as a string and not in a file. Writing the string to a file and...more >>

Reusing XPathExpression in multiple iterations
Posted by Steve Taylor at 6/1/2004 2:36:12 PM
Is there some reason why I shouldn't be able to use the same XPathExpression simultaneously in multiple iterations? The test below illustrates the problem. It seems that creating two XPathNodeIterators with the same expression creates a coupling between the iterators so they always point to th...more >>

Using XPath with VB.NET
Posted by Kyle Denton at 6/1/2004 12:10:30 PM
Hi, I have the following XML <TREENODES> <TREENODE TEXT="Car_1" ID="A1"> <TREENODE TEXT="Spoilers_1" ID="A1_1" /> <TREENODE TEXT="Spoilers_2" ID="A1_2" /> </TREENODE> <TREENODE TEXT="Car_2" ID="B1" /> <TREENODE TEXT="Car_3" ID="C1"> <TREENODE TEXT="Spoilers_1"...more >>

xml lists?
Posted by Timothy V at 6/1/2004 10:38:48 AM
Hi, I'm having trouble with something again. If i have, for example: <Notes> <Note>some text</Note> <Note>some other text</Note> <Note>more text</Note> </Notes> I put the InnerText of each Note node into an ArrayList. My question is, if i change the ArrayList around by adding and ...more >>

join xml documents?
Posted by Danny Acuna at 6/1/2004 10:36:02 AM
I have two xml documents <?xml version="1.0" standalone="yes"?><CodesFile><CatNumber><number>1</number><code>001</code></CatNumber><CatNumber><number>2</number><code>002</code></CatNumber><CatNumber an <?xml version="1.0" standalone="yes"?><NewDataSet><Table><Number_>1</Number_><category_name>...more >>


DevelopmentNow Blog