| XPath in VB.NET: Selecting sub nodes ie. XSL nested for-each. (2 replies) |
| microsoft.public.dotnet.xml |
| This example code is in VB.net, and I am looking for a solution using VB.net. I believe this is the right group which can help me. A quick search of the .net VB group turned up very little XML discussion, and this group had quite a few messages with VB code and of course XML discussion. I am trying to use say a nested for each construct in VB.NET using XPath, XPathNodeIterator, etc., or maybe I am... |
|
| write data in xml file (2 replies) |
| microsoft.public.dotnet.xml |
| i have a C# winform. i need to write in an xml file which is on a web server. how writing there.(i'm not using asp, or c#webapp |
|
| XMLHttp Object in .NET? (4 replies) |
| microsoft.public.dotnet.xml |
| Anyone know of a comparable class in .NET for the MSXML XMLHttp object? I want to utilize it's .Send method to post some data as a file, but can't figure out what to use (WebClient.UploadData and WebClient.UploadFile won't work since it's data I want to post as a file). TIA, Jim |
|
| MS XML Parser 4.0 // Entity declaration problem (Bug) (4 replies) |
| microsoft.public.dotnet.xml |
| I had a problem with parsing MathML files, with the doctype declaration !DOCTYPE math PUBLIC " //W3C//DTD MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" As I have seen in the attached newsgroup posting, there is a workaround by setting doc.setProperty("NewParser", true) doc.validateOnParse false Did there happen a bug fix in the meantime? Because not being able to validate a MathML... |
|
| XmlTextReader question (2 replies) |
| microsoft.public.dotnet.xml |
| If I do XmlTextReader x new XmlTestReader("this file doesnt exist.xml"); and the file doesnt exist *duhh* ;) then shouldnt it be throwing an exception? I do something like this Class Settings { private XmlTextReader x; public Settings() { x new XmlTextReader("this file doesnt exist.xml"); } } create a new instance of the settings class form my form code and it doesnt throw an exception. Andreas Hå... |
|
| why SelectSingleNode returrns null? (5 replies) |
| microsoft.public.dotnet.xml |
| i am selction a single node but it returns null xml is loaded correctly, i can see for example xmlDoc.InnerXml HttpWebRequest myReq (HttpWebRequest)WebRequest.Create((string)item.Properties.Item("URL").Value) ; myReq.Proxy GlobalProxySelection.GetEmptyWebProxy(); WebResponse myResponse myReq.GetResponse(); Stream WSDLStream myResponse.GetResponseStream(); XmlDocument xmlDoc new XmlDocument(); xmlD... |
|
| dataset to messagequeue (4 replies) |
| microsoft.public.dotnet.xml |
| Hello, When I try to post a dataset to a messagequeue using q.send(objDataset, "Label") the first line in the message appears as ?xml version "1.0"? This works fine for reading messages from the queue and to insert them into a database. However, when there are special characters in the dataset like é or à, then this get transfered to strange characthers (eg à ). When I read the xmlnode this gives ... |
|
| XmlSerializer & Image data? (7 replies) |
| microsoft.public.dotnet.xml |
| I added an Image object to the class I was serializing and now it cannot be serialized. Error: "Image does not have a public default contructor." What do I need to do to serialize my image (bitmap)? Thanks, Steve |
|
| Referencing an external ComplexType (8 replies) |
| microsoft.public.dotnet.xml |
| I'm using the xs:import/ element within my schema so that I can gain access to ComplexType's from another schema. This is working up to a point. I say 'working' because the XmlValidator definitely is loading the other schema, and is finding the reference to the ComplexType. Here's what I've got [simplified]: xs:schema ... xmlns:ns "http://domain.net/OtherSchema.xsd" xs:import namespace http://doma... |
|
| System.Security.Cryptography.Xml unknown in Visual Studio ? (2 replies) |
| microsoft.public.dotnet.xml |
| Hi, I'm trying tu use System.Security.Cryptography.Xml.SignedXml in VS.NET but when I compile it I get : c:\inetpub\wwwroot\SoapTest\Service1.asmx.cs(10): The type or namespace name 'Xml' does not exist in the class or namespace 'System.Security.Cryptography' (are you missing an assembly reference?) I checked in C:\WINDOWS\Microsoft.NET\System.Security.xml and SignedXml is there. Anyone had that b... |
|
| Calling COM from .NET web service fails! (2 replies) |
| microsoft.public.dotnet.xml |
| I have a simple VB COM component with a method that returns an XML document as an MSXML.DOMDocument. The signature of the function in VB is: (I am using Variants because this is a scriptable object) Public Function GetXML(ByVal myData As Variant) As Variant Dim xmlDoc As MSXML.DOMDocument implementation set GetXML xmlDoc end function In OLEView, the IDL signature looks like: HRESULT GetXML([in] VA... |
|
| Which classes? (2 replies) |
| microsoft.public.dotnet.xml |
| I need to interact with a non SOAP web service. I basically need to post an XML message (proprietary schema) to a URL and parse the XML results. I know there are a lot of specialized classes so I don't want to build something from scratch with XML and TCPIP classes. Which .NET classes should I look into for this? |
|
| XmlTextWriter.ToString()? (2 replies) |
| microsoft.public.dotnet.xml |
| This should be easy. I'm trying to build an XML document from scratch using the XmlTextWriter and then use the resulting string. I'm having trouble figuring out exactly how to use this class. First of all, it seems there is no parameterless constructor. The SDK says that I should pass contrust with a TextWriter object but I can't directly instantiate that class. How do I construct and get a string... |
|
| ReadXMLSchema bug: Rejects Valid Schema (2 replies) |
| microsoft.public.dotnet.xml |
| Hi all, I have an XML file open in a VS.NET project and use the wizards to create a schema and a typed dataset. I can populate the dataset, find rows, extract data, update etc no problem. I had a routine that saved a previous version of the typed dataset to ViewState which I could subsequently recreate on postback no problem. I made a change to the XML (because DataRowCollection.Find would not wor... |
|
| Is it possible to get current date inside XSL? (2 replies) |
| microsoft.public.dotnet.xml |
| Hi, Does anybody know if there is some function in XSL, which allows to get current date from system? Thanks, Val Mazur |
|
| Getting XML as a string (2 replies) |
| microsoft.public.dotnet.xml |
| I've created some XML, and see how I can save it to a file with the XMLDocument "save" method, but how can it be retrieved as a string without first saving it? TIA, bert |
|
| Embedding binary data in a XML document (3 replies) |
| microsoft.public.dotnet.xml |
| I would like to embed binary data in a XML document. Is this possible? To be clearer I would like to create a XML document to store an electrical signal converted in binary as sequence of byte. The XML would contain some string information about the kind of the signal and finally the whole byte sequence as binary data (array of byte or array of long) Is this possible? Where can I find example of t... |
|
| Cleaning Empty Nodes (5 replies) |
| microsoft.public.dotnet.xml |
| Group, I am new to using xml documents in code, so I was wondering if anyone knows about a way to check if a node is empty, if so how to remove the node form the document thanks Kelso |
|
| Pulling Data to an XML file for faster access...any issues in this? (2 replies) |
| microsoft.public.dotnet.xml |
| I want to generate a drop down that lists some products in a company which do not change frequently. One point of view while designing (and quite valid) was that we could get the products list as XML and save it onto the web server and update the XML whenever a new product is added. This would definitely save some expensive round trips to the database. But i'm not convinced about this method. 1. H... |
|
| XML parsing (3 replies) |
| microsoft.public.dotnet.xml |
| I have the following XML document and would like to parse it and update the DB. How can I do this in C#? Order OrderNumber 123456 /OrderNumber OrderDate 6/12/2002 /OrderDate Details Detail ProductId 432 /ProductId Quantity 3 /Quantity UnitPrice 59.99 /UnitPrice Detail Detail ProductId 433 /ProductId Quantity 3 /Quantity UnitPrice 69.99 /UnitPrice Detail Detail ProductId 434 /ProductId Quantity 3 /... |
|
| Retreiving multiple values from single node within a node list. using XPATH? (2 replies) |
| microsoft.public.dotnet.xml |
| 1) I have an Xml Doc with multiple Order Line Items. m XMLDoc new XmlDocument(); m XMLDoc.LoadXml(m sXMLMsg); Order LineItem Status /LineItem LineItem Status /LineItem .... /Order 2) I create an XmlNodeList of the Line Items XmlNodeList xmlLineItemsNodeList m XMLDoc.SelectNodes ("//Order/LineItem"); 3) Then I retreive the first Line Item Node. for(int x 0;x xmlLineItemsNodeList.Count;x ) { lineIte... |
|
| can u help me? (2 replies) |
| microsoft.public.dotnet.xml |
| how do i fill a DataGrid manually ? ,say data comes from a file? |
|
| XML Encryption (5 replies) |
| microsoft.public.dotnet.xml |
| Anyone done this yet with .NET? examples? |
|
| Deserialize from a string not a file? (2 replies) |
| microsoft.public.dotnet.xml |
| Hi... I am looking for a way to deserialize an xml string that passed, but I am having difficulity. I can deserialize the xml string when I read it in from a file, but if pass that exact string it does not work. I get the error "There is an error in the xml document ()". I am thinking that some how the xml string is getting munged when I am putting it into the StreamReader to deserialize. Do anyon... |
|
| xsl:document() function broken in .NET implementation? (3 replies) |
| microsoft.public.dotnet.xml |
| I have an ASP based web site that uses transformed XML documents, with heavy use of the xsl:document() function, to generate pages. I've been trying to do a similar trick with my .NET application, but it seems to completely ignore my xsl:document() function calls, regardless of whether I transform an XmlDocument or an XPathDocument. Anyone else had any luck transforming with the xsl:document() fun... |
|