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 2005 > threads for june 22 - 28, 2005

Filter by week: 1 2 3 4 5

parse string with xml contents
Posted by Mochuelo at 6/28/2005 12:22:57 PM
Hi I have a string with the following contents: "<TR align=right ID=G><TD align=left><A HREF="/comun/fichaemp/fichavalor.asp?isin=ES0111845014"><IMG SRC="/images/arr-up9.gif" BORDER=0> ABERTIS SE.A</A></TD><TD>19,96</TD><TD ID=V>0,15</TD><TD>19,96</TD><TD>19,83</TD><TD>1.060.525</TD><TD>21...more >>

XML in VS.Net 2K5 vs VS.Net 2K3
Posted by SideByEach at 6/28/2005 6:43:28 AM
I just started using VS 2K5 beta 2 the other day. I am trying to move a project I created over to in pieces to 2K5. I can't seem to figure out why the follow XPath returns nothing in 2K5 "descendant::element[@ref='CurrDate']". The XML I am trying to select from is as follows: <?xml version=...more >>

Creating XML Element
Posted by Raed Sawalha at 6/27/2005 10:11:03 PM
I'm trying to create Element as following name MyElement:InitialName XmlElement elem = doc.CreateElement("MyElement:InitialName"); when generate the XML the tag is truncated as ONLY "MyElement",why? Any Suggestions ...more >>

Element or Attribute, which one should I use. thanks!
Posted by davidw at 6/26/2005 9:37:50 PM
I need store some setting in XML. I can not decide to use xml element or xml attribute to store them, for example, the XML could be <Page> <Label>test</Label> <Size>10</Size> ..... </Page> and it could be <Page label="test" size="10"/> I read some articles. Most them suggest element...more >>

XSLT or define relations
Posted by womber at 6/26/2005 3:33:03 PM
What do you think is the best design approach when your trying to get nested XML results from dataSet.GetXML. Define the relations in the dataset or apply an XSLT stylesheet to nest the results by syncing the dataset with an XMLdocument? ...more >>

XML Serialization and custom collections
Posted by womber at 6/26/2005 12:03:07 PM
I am getting XML from a dataset that has been populated via a storedprocedure no schemas have been applied nor any relationships. But the correct table names have been given to match the table(s) equivalent business object(s). I have a custom collection that implements ICollection and IEnumera...more >>

Should I seriize xml or I should just leave it as text? thanks
Posted by davidw at 6/25/2005 10:22:22 PM
Last time, I asked a question about if a XPathDocument could be serialized. Actually what I really want to know is how should I do in this case: I have a class that will be serialized. In the class, I need call another class, which will read setting from database. I want to load the xml once a...more >>

XML base64Binary
Posted by Sheila at 6/25/2005 8:05:01 PM
Hi, I have a web service which stores an uploaded image into SQL server, thus there are a few things need to do: 1. Convert image to base64Binary. 2. Call web service and embed image as base64Binary in XML string. 3. Web service save image binary into SQL. Where can i find the samples. Is...more >>



xslt Transform efficiently
Posted by Doug Heeren at 6/25/2005 5:59:03 AM
I have the following section of VB.NET code that transforms a simple dataset into an Excel xml workbook. It works fine for < 50 rows or so, but I have about 8,000 rows I need to transform. Is there a better way than what I am doing. This is part of an ASP.NET applicaiton. 'Clear the...more >>

XSL transform bug...
Posted by tcdevelopment at 6/24/2005 5:56:01 AM
I have a XSLT file that gives expected results when I transform using MSXML V4.0 in a simple vbs file. However when using XslTransform in dotnet, I do not get the same results. The part of the XSLT file that does not work correctly is: <Token TokenId="3129"> <xsl:for-each select="EDI/Segme...more >>

Problem XML with (à,è)
Posted by Peppe at 6/24/2005 12:00:00 AM
When i export a an XML from a dataset, i have a problem with the accented characters (es. à;é;ì etc) I know that XML doesn't use it. I should use a particular encoding? how can i convert this characters? Exists a function for convert? ...more >>

'' is an invalid QName
Posted by Glenn at 6/23/2005 12:00:00 AM
Help I'm trying to perform a transform and I keep on getting '' is invalid QName. The weird thing is, I can take the same code, stylesheet and XML, put into a Console app and it works okay. I've tested the stylesheet in Stylus Studio and tried using nxslt and both work fine. Any ideas? ...more >>

XSD + DataSet = XML!?!
Posted by MartinP at 6/23/2005 12:00:00 AM
Hi There. I've been doing a little research, but found little of value. My problem's this: I've got a DataSet containing a serious bunch of data. From this DataSet I want to "extract" some of the values (values in specific datatable columns). I've got an XSD which has the right syntax for ...more >>

skipping invalid nodes with XmlTextReader
Posted by Stephen S Kelley at 6/22/2005 5:24:30 PM
I want to do something like: bool bContinueReading=true; XmlTextReader Reader=new XmlTextReader("file.xml"); while(bContinueReading) { try { Reader.Read(); ... } catch { Reader.Skip(); } } To skip over any xml formatting problems (in...more >>

How do I control the location of xmlns attributes when serializing
Posted by rlcavebmg at 6/22/2005 10:17:03 AM
I need to generate an XML document that will be validated against a DTD. Up to this point, I have been using XML Serialization with good results, but there is one item I haven't been able to figure out. The generated XML needs to look something like this: <?xml version="1.0" encoding="utf...more >>

Retrieving values from XML file
Posted by Mike at 6/22/2005 12:00:00 AM
I want to be able access an xml file using an XPath? query to go to a specific node. Once I have that node I want to be able to retrieve the value of an attribute. Can't seem to get this working using the 2.0 Framework. Here's a sample of the XML <Agency> <vu_Agency AgencySysNo="1" Name=...more >>


DevelopmentNow Blog