Groups | Blog | Home


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 > july 2004 > threads for july 1 - 7, 2004

Filter by week: 1 2 3 4 5

Element End Tag
Posted by MLibby at 7/7/2004 8:30:01 PM
How can you tell when you've reached an elements end tag? For example, how can the following code tell that <MenuItem Label="Overview" ClientSideOnClick="CacheDemo/IntroToCache.ascx"/> has an end tag? StringBuilder sb = new StringBuilder(); if (xmlReader.NodeType == XmlNodeType.Element) { ...more >>

Help in XML
Posted by Support at 7/7/2004 6:04:03 PM
In my app I need to convert a structured XML file into a PDF file. I can use XSL FO to achieve this. Are there any other options? Maybe through a .NET base class? Please suggest. ...more >>

XmlReference to undeclared entity, 'LT'
Posted by tobbe at 7/7/2004 4:32:51 PM
Hi Im trying to load a XmlDataDocument with the following xml: <ROOT> <NAME> &LT; &AMP; &GT; " '</NAME> </ROOT> And i know I have a entity problem here, but i cant find any solution for it. The problem is that i recive this from external source and cant influence the xml content. Pl...more >>

Serialize Dataset
Posted by Wayne Wengert at 7/7/2004 10:00:31 AM
I am attempting to generate an XML file based on the contents of a dataset which contains a parent-child relationship but when I create the output file all I get is the XML header as shown here: <?xml version="1.0" encoding="utf-8"?> <DataSet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns...more >>

Need XML Serialization Help (Long Post!)
Posted by Wayne Wengert at 7/7/2004 3:42:54 AM
This is my first attempt to re-write an old VB6 application that exported a CSV file to a .NET application that exports an XML file with the equivelent data. I have limited understanding of OO programming concepts (am trying to learn) and XML serialization is all new ground for me. Anyway, here i...more >>

LoadXML fails when XML contains !DocType. Now what do I do?
Posted by AFN at 7/6/2004 6:45:32 PM
I'm comfortable with VB.NET but new to XML. I am getting XML data from a remote machine across the internet. Sometimes my LoadXML call works fine and I parse out the data I need thereafter. But other times, LoadXML fails because it says it can't find a DTD file which is referenced in <!DOCTY...more >>

Fast XML Document Parsing?
Posted by shearne NO[at]SPAM tssg.org at 7/6/2004 2:30:58 PM
I currently parse an xml document using the XmlTestReader class. The xml doc contains several records, each of which contains about 10 elements. I then convert each element in a record into its equivalent C# data type (e.g. for float values, I use float.Parse(elementVal) ) I then perform calcu...more >>

can I do this in xsl
Posted by James at 7/6/2004 11:48:17 AM
Quick question: I have some text containing strings to strip out and replace: eg. "some text some text some %replacethis% text some text some text" with the % flagging what to replace. I can substring-before upto the first %, then I try to get the rest of the string after the 2nd % usi...more >>



Reading ASP.NET into XML DOM
Posted by Ahmed at 7/6/2004 6:37:02 AM
Hi, i wanted to know if it is possible to easily read an asp.net file into an xml tree. the only major issues i found were: 1-asp: namespace not defined 2-<%@ ... now the first issue is easy to solve (you just add a definition for the namespace in the file, but the second issue i...more >>

newbie: Visual Studio could not locate a schema for this document
Posted by Jeff at 7/5/2004 10:59:55 PM
Hi IDE: VS 2003 .Net OS: XP Pro + MSXML 4 I'm experimented with xml in .net for the porpose of learning it... Below I have two questions: *********************************************************** Question 1: When I in visual studio choose to validate my xml file I get this message: C...more >>

xml selectnodes
Posted by e-mid at 7/5/2004 4:38:20 PM
i want to get childs of specific xml node. normally i use xmlNodeList fooList = myNode.SelectNodes("foo"); but in compactframework , there is no selectNodes() method or selectSingleNode() method. what else can i use instead? ...more >>

XPath: Unabbreviated syntax for function call
Posted by Jonathan Eagle at 7/5/2004 2:55:32 PM
For nodes we can use unabbreviated absolute syntax: *[local-name()="node1" and namespace-uri()="http://my"] What about functons? Can we remove the dependecy on header prefix declaration somehow instead of using something like my:function() ? ...more >>

XPathDocument faster than XMLDocument ?
Posted by John A Grandy at 7/4/2004 6:58:46 PM
working with a local xml file. perform an xpath query and iterate through the resultset to build a virtual DataTable -- each DataRow composed of multiple attributes of each element in the xpath resultset ... is working with an XPathDocument faster than working with an XMLDocument ? if so , ho...more >>

xml DTD visual stdio .net 2k3 autocomplete
Posted by alejandropacheco NO[at]SPAM hotmail.com at 7/3/2004 8:51:33 PM
Hello, I'm using visual studio .net 2k3 to work with Xml intensive integration App. When I using XML /XSD based documents I get autocomplete feature but not when I use Xml /Dtd based. Somebody know How work around Thansk Alejandro P. ...more >>

Problem deserializing ArrayList.
Posted by Chris Mumford at 7/3/2004 3:03:16 PM
I have a wierd one that I hope somebody can help with. I'm trying to serialize an ArrayList of items. I am successfully serializing other ArrayLists of strings, but for some reason this code will serialize *out* the CommentLines property, but the XmlSerializer seems to ignore them when seriali...more >>

Improperly nested XML when column contains NULL
Posted by jcollings NO[at]SPAM myfamilyinc.com at 7/2/2004 4:47:00 PM
I'm getting improperly nested xml when a column contains null. I modified the first row (customer ALFKI) to have a NULL Address column. I'm using the following XSD Annotated Schema against the NorthWind database: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas...more >>

xslt transform not working in .net that works in msxml
Posted by Jason S at 7/2/2004 2:56:49 PM
Hello Group, I am just about tearing my hair out with this one and thought someone may have some insight. I have a transform that wasn't working so I grabbed the nearest debugger (xselerator) and saw that it works just fine. Now what I mean by not working is that it just silently fails to pr...more >>

XML Validation
Posted by uttara at 7/2/2004 10:11:12 AM
Hello All, I am trying to validate XML file against a XSD. The trouble is, it does not validate my file if I have the following header: <?xml version='1.0' encoding='utf-8'?> It gives me this error: The data at the root level is invalid. Line 1, position 1. Description: An unhandled except...more >>

Serializing object to XML
Posted by Wayne at 7/2/2004 7:52:59 AM
Below is some code we have for converting our objects to XML. Both convert the XML just fine, but I have a question about a small differnance. The first block of code outputs the ?xm tag with utf-16, the second block outputs it with utf-8. Why do they generate the header differnt? And why woul...more >>

DTD parsing?
Posted by Delaš at 7/2/2004 7:03:18 AM
Any idea how to do it? Some usefull class that i missed? Thx in advance! Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** -------------------------------------------...more >>

C# code generation with xsd.exe "how to ?"
Posted by Marek at 7/2/2004 1:33:48 AM
Actually, the very first question I should ask is "does it make sense at all?". For 2 days I've been trying to generate C# classes using XML schema and xsd.exe tool. So far the results are not exciting but I assume I am seriously short of knowledge, so here I am - asking for help. My current s...more >>

XML errors in webservice call
Posted by Colin Young at 7/1/2004 4:34:55 PM
I am creating some code that runs in Excel using VSTO. I am trying to get some xml from a webservice, using the following code: GBWPipeline.PipelineService pipeline = new GBWPipeline.PipelineService(); string xml = pipeline.GetOfferSale(OfferSheetId, CustomerId).GetXml(); I get a "There is a...more >>

xml to pdf using c# asp.net
Posted by Martijn Damen at 7/1/2004 3:55:13 PM
Hi, At the moment I am working on an documentation tool where customers can build their own documentation by selection chapters of standard docs and building their own 'tree' of documentation. This is all done in xml, and now I want to transform this xml document to a pdf. Does somebody hav...more >>

newbie: error when validating xml file
Posted by Jeff at 7/1/2004 3:46:09 PM
IDE: VS. 2003 .Net OS : XP Pro + MSXML4 I'm experimenting with xml in visual studio, for the purpose of learning... I created a xml-file (country.xml): <?xml version="1.0"?> <Test> <Country> <Name>Norway</Name> <Capital>Oslo</Capital> </Country> <Country> ...more >>

[ANN] New XML Editor in Visual Studio 2005 Beta 1
Posted by Chris Lovett at 7/1/2004 12:14:28 AM
Announcing: New XML Editor in Visual Studio 2005 Beta 1 Visual Studio 2005 Beta 1 contains a completely new XML Editor, built on = top of the core text editor provided by Visual Studio. It is entirely = written in C# and leverages all the cool stuff provided by the = System.Xml .NET assembly. ...more >>


DevelopmentNow Blog