| Problems with XmlTextReader (5 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hi, I am trying to load an XML text file using an XmlTextReader using a BufferedStream. I am using the following code: (assuming m reader is a valid XmlTextReader) while (m reader.Read()) { if (m reader.NodeType! XmlNodeType.Element) continue; if (m reader.LocalName "ESWBS") { while (m reader.MoveToNextAttribute()) { // process attributes here } } } On a document formatted as below... .. .. .. ESW... |
|
| 'There was an error reflecting <class>' - Interface properties & XmlSerializer (4 replies) |
| microsoft.public.dotnet.xml |
| Does XmlSerializer have a problem with properties which are interfaces? Given these class and interface definitions public interface IDataItem { string IDName{get;set;} } public class DataItem : IDataItem { private string idName; public DataItem(){} public string IDName { get{return idName;} set{idName value;} } public class Contact { private IDataItem hairColor; public string Name "S.J. Perelman"... |
|
| XML/XSD: Show available attribute values from XSD in Intellisense (4 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hi: I want to limit the values that can be entered for particular attributes. 1) I have created an XSD from my XML document. 2) I dropped that XSD file into the following directory C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xml 3) When I use VS.NET to create a new XML document, I do get the intellisense working (all attributes and elements show up). However, I want... |
|
| New Google group - Visual Studio Express (3 replies) |
| microsoft.public.dotnet.xml |
| A new Google group has been formed for the purpose of discussing the new Visual Studio Express products. http://groups beta.google.com/group/Visual Studio Express The products are currently in beta testing and include Visual Basic 2005 Express, Visual C# 2005 Express, Visual C 2005 Express, Visual C 2005 Express, Visual J# 2005 Express, Visual Web Dev 2005 Express and SQL Server 2005 Express. They... |
|
| web service / soap header processing in VB.NET (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| I'm trying to do some accouting with a .NET web service. I would like to simply log the request and response times for each web service method invocation. The LogRequest function simply INSERTs request data and the LogResponse UPDATES the request data based on the RequestId value. The problem here is timing. It appears that the thread pool is processing these out of order (infrequently). Therefore... |
|
| generate-id() and Microsoft .NET Framework 1.1 Service Pack 1 (4 replies, VIP) |
| microsoft.public.dotnet.xml |
| generate id() appears to break in XSL transformations after installing Microsoft .NET Framework 1.1 Service Pack 1 or Visual Studio 2005 Beta. I have found several references to this searching the net but nobody has followed up with any answers. Is this really a bug or what? It worked fine on all our transformations until we loaded Microsoft .NET Framework 1.1 Service Pack 1 on that particular mac... |
|
| Chicken or Egg, XML or XSD? (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| What comes first, XML or XSD? When you start building a project that will include XML, what would you start on first, building your XML data file or your XSD schema file? thanks Ralph Krausse www.consiliumsoft.com Use the START button? Then you need CSFastRunII... A new kind of application launcher integrated in the taskbar! ScreenShot http://www.consiliumsoft.com/ScreenShot.jpg |
|
| update textbox with decimal format (2 replies) |
| microsoft.public.dotnet.xml |
| I'm new to .net and need help with providing a client side formating feature. Each time a user enters a number in a textbox, I'd like to format the textbox with ','. Can anyone point to a sample or the standard that should be used, such as registering the script? Thanks in advance. Dave |
|
| Xml Serialization into Abstract Classes (VB) (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| I have a two classes, cat and dog. They Inherit from Animal. Animal is set to MustInherit. Is it possible to deserialize XML into these classes like: Animal Name Fido /Name Dog PedigreeName Shepard /PedigreName /Dog /Animal the preceeding would be deserialized into 2 obj, Animal for Name & dog for rest. Any thoughts? |
|
| XmlTextReader.ReadOuterXml() (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| I am writing a method that will add together an array of similar xml files to one big one. Its working pretty well, I can use a reader to loop through each fragment to find the right node level (and at the same time see that some attributes have the values the client expects), but I can't successfully add a new fragment to the main xml document in memory. In particular, after having found the righ... |
|
| Cancel async web service call (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| I want to be able to cancel an async call to a VB.Net web service and for the web service to know it has been cancelled so that it can abort gracefully. I have used the Begin.... and End... methods of the proxy class to successfully run the web service asynchronously. And I used the Abort() method of the IAsyncResult return by the Begin... method to abort the web service request. This aborts the c... |
|
| Schema Import Or Include Question. (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| what exactly is the difference between import and include? For Example if i had a schema called common, that had some common elements that i use such as address, phone ect. And then i created a schema called customers to keep track of well customers. how would i use the phone element from the common schema in the customers schema? Would I use import or include or both and if so how? Thanks. WStore... |
|
| Best way of adding another node into an XML document? (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| I just need to add a new node whenever someone enters new data on a page. This doesn't involve any editing of existing nodes in the XML document. I was wondering whats the "BEST" way to perform this. I was thinking of a dataset but its unneccessary to read all the values into the dataset. Thanks |
|
| XmlNodeList.Count hangs forever... (2 replies) |
| microsoft.public.dotnet.xml |
| Hi. I am returning a "distinct" list of nodes from an xmldocument using selectnodes. I get the list fine, and I can select individual nodes, but when I try to access the count of the list my computer just hangs. Also, if I try to iterate the list using foreach the first time works, and then the second try hangs. I don't have more than about 200 rows in the xmldocument. Anyone know what's going on?... |
|
| String to xml document (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| Hi there, I was hoping someone can help me with a little problem I can't seem to find any answers to. I've got a form wich will be posted. On receiving the post I would like to parse a formvar to a xml document. The contents of this formvar (string) will be a valid xhtml document. Can someone give me a startertip (or more : )) on how to achieve this? tnx in advance, James van der Veen |
|
| DataSet and example (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| I am new to XML using .net. i have a simple question I have a datatable with oracle. I need to get the data from the table and return the data in form of XML but XML has some schema. I have ..XSD file. Any idea of how to do this, i am don't know anything about it. Can someone explian me and its urgent. Basicall my XML will have a parent node and some child nodes. The data which comes from the tabl... |
|
| Microsoft XML Parser for MAC? (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| We have an application that requires IE 5.0 or greater and Microsoft XML parser. The application does not work in MAC IE because the XML Parser is not installed in Mac IE 5.0. Is there away to install it on MAC or an alternate product? Thanks, |
|
| xlink (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| I'd like to associate (link elements in) a linkbase (xml) file with (elements in) an instance document (xml). I've never seen an example of how to do this. Anyone know how to do this in .NET? Thanks |
|
| Serializing a class and not get the "?xml version" (4 replies, VIP) |
| microsoft.public.dotnet.xml |
| I am using the xml serializer to serialize the objects out of a collection into a file. The object that is being serialized is a class in my application. When I serialize my class it produces the following line. ?xml version "1.0" encoding "utf 16"? for each instance of my serialized class. Thus giving me the following output. ?xml version "1.0" encoding "utf 16"? Message .... /Message ?xml versio... |
|
| XML and Large FIle (Append) (5 replies, VIP) |
| microsoft.public.dotnet.xml |
| It is my understanding that in order to append XML to a file you would have to read the file in as an XML document and insert the node. However, what if the file is close to 1GB in size? Would you require 1GB of RAM to deal with reading this file in efficiently? Also, is XML an optimal solution when files get this large? I know I can solve my issue by formatting the records contained in my program... |
|
| Multiple XML Schemas with different Namespaces (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| When using multiple schemas with different namespaces, is it possible to unqualify all elements, even the root? This was sample from MSDN library... Instance Document: ?xml version "1.0" encoding "UTF 8" ? ex:root xmlns:ex "http://www.example.org" child1 Don't know where I come from /child1 child1 neither do I /child1 child2 Me too /child2 /ex:root I would like this instead: ?xml version "1.0" enc... |
|
| Error in output from transformation when output exceeds 16040 byte (5 replies, VIP) |
| microsoft.public.dotnet.xml |
| I have written an XSLT transformation on an ASP.NET page. The resulting HTML is primarily a table of links. I have found that when the resulting HTML is less than or equal to 16040 bytes, the output display is normal, but when the resulting HTML exceeds 16040 bytes, the output does not display correctly. When I look at View Source, I see that the final /html tag gets moved to another spot in the o... |
|
| Usage of // and $ in <xsl:value-of ... (2 replies, VIP) |
| microsoft.public.dotnet.xml |
| (Type your message here) From: Aravind G Hello all, I have a peculiar situation. Following is a small xml snippet in use ROOTNODE SPSNODE EXTERNALMESSAGE xmlns:xsi "http://www.w3.org/2001/XMLSchema instance" PHILIPSRIS PERSON xmlns:dt "urn:schemas microsoft com:datatypes" PATIENT SERVICEEPISODE ORDERENTRY ORDER STATUS dt:dt "string" SC /ORDER STATUS : : : Through some mapping information I am able... |
|
| <xsl:if> construct (6 replies) |
| microsoft.public.dotnet.xml |
| Hi all, Probably a really basic question, but I cant find an answer ... I have an xml file of books something like: product isbn 0 735 61374 5 /isbn title Microsoft Visual Basic Step By Step /title author Michael Halvorsen /author subject Programming /subject blurb Here's a fast way for any programmer to begin ... yada yada ..... /blurb price 89.95 /price category Computers /category image images/... |
|
| Problems with Framework 1.1 SP1? (3 replies, VIP) |
| microsoft.public.dotnet.xml |
| Greetings, Has anyone else experienced issues with .NET Framework 1.1 SP1 and Xsl transformation services? We are experiencing issues with such fundamental items as 'last()' throwing an 'index was outside the bounds of the array' error whenever we use it in conjunction with for each and key(...) statements. These are stylesheets that ran flawlessly prior to 1.1 SP1, and we have validated that remo... |
|