microsoft.public.dotnet.xml Archive - May 2004
Post a message to this list
Messages
Page: 1234
XML-to-MSWord (2 replies, VIP)
microsoft.public.dotnet.xml
Hi, I've got a really laborious task at my work. I have to write documentation to my C# code in MS Word till Wednesday. They don't care that, documentation already exist in MSDN format generated by nDoc. They still want it, in MS Word Format. While I was writing a code, I always documented all my methods, class and namespaces in VS.NET XML format documentation. But now, I've got 130 pages long XML...
XML Schema Validation + Deserialization (3 replies)
microsoft.public.dotnet.xml
I would like to perform a 2 pass XML reading from a stream. Once using the Validating reader, just to confirm the validity against the schema, and next time to do a reading to extract the data. Actually, second time I do a deserialization, the data from XML is fed directly to an object. The problem I am experiencing is the error at the second reading attempt, and error description implies that rea...
unable to add web reference (2 replies, VIP)
microsoft.public.dotnet.xml
I am trying to add a web reference for a web service but am having no joy. I seem to get the same response: There was an error downloading 'http://www.xmlwebservices.cc/ws/v1/geoip/geoi pconversion.asmx?wsdl'. The request failed with http status 404: Not found. Despite this the methods are displayed but I am unable to click the add reference push button as it remains disabled (no doubt due to the ...
Test (2 replies, VIP)
microsoft.public.dotnet.xml
Test
XML Serialization bug? (5 replies, VIP)
microsoft.public.dotnet.xml
Take a class: public class AClass { public bool FurtherActionsRequired; public bool FurtherActionsRequiredSpecified; } this class serialized to XML produces the following XML output: ?xml version "1.0" encoding "utf 8"? AClass xmlns:xsd "http://www.w3.org/2001/XMLSchema" xmlns:xsi "http://www.w3.org/2001/XMLSchema instance" FurtherActionsRequiredSpecified false /FurtherActionsRequiredSpecified /AC...
Consume Java Webservice through .NET client (2 replies, VIP)
microsoft.public.dotnet.xml
Could you please explain me the steps for consuming Java Webservice through .NET client. I know how to connect through .NET webservice and I followed the same steps for this, but it did not work out. In the Add web reference dialog I entered the Java webservice url, it returned the Messages "Sorry, I don't speak via HTTP GET you have to use HTTP POST to talk to me" in the left pane and "Discovery ...
Array Serialization (2 replies, VIP)
microsoft.public.dotnet.xml
(Note I have posted to this group because I had no luck in microsoft.public.dotnet.vb.general) Hi all This is probably an easy one... I would like to serialize an array to an XML file but I cant quite get it right. Here goes I declare the array at the top of the class Private marrApplications(100) As App Then when I go to write the array... Private Sub save Applications() 'serialize the object Dim...
Reading an XML value (2 replies, VIP)
microsoft.public.dotnet.xml
What's the fastest way to read an elements value from a string containing XML? The readers require streams and creating a DOM brings a lot of overhead! Ta in advance, M.McD
assign dt as namespace for xmlelement (3 replies, VIP)
microsoft.public.dotnet.xml
I am trying to duplicate an xml document, and I am pretty new to xml. I am using hte Xml namespace and taking advantage of the xmldocument class. I would like to add the following to an element xmlns:dt "urn:schemas microsoft com:datatypes" Is there a way to do this through the setattribute or createelement methods? Whenever I try all i get is the xmlns "urn:schemas microsoft com:datatypes" From: ...
Using XSLT to transform XML prior to loading into Dataset (3 replies, VIP)
microsoft.public.dotnet.xml
I am trying to transfor an XML document prior to loading into a Dataset. My problem stems from the known bug in Visual Studio that prevents loading a well formed XML because of duplicate child names: http://support.microsoft.com/default.aspx?scid kb;en us;325696 Anyway, I want to transform the XML using the XSLT to get around this problem, but I am having a tough time coming up with a way to apply...
Using MapPoint .Net webservice (3 replies, VIP)
microsoft.public.dotnet.xml
Hi, I have just installed the micorsoft's mappoint .net sdk....how to start using the samples.....has anyone successfully gone through the entire cycle of installation to implementation...if yes, could you please help me by providing some sample code n pointers to get started.....i have hopelessly searched online for tutorials but found nothing......also wat is the difference between mappoint .net...
XSD.exe w/Include: What am I doing wrong? (3 replies)
microsoft.public.dotnet.xml
I'm running into problems using XSD.exe to generate classes from XSD files using the Include functionality. Being a complete newbie with this, I am obviously missing something obvious: I have defined two schemas, XMLSchema1 and XMLSchema2 with the same target namespace: "TestSpace", each with one complextype element defined. In the XSD designer for XMLSchema2, I have included XMLSchema1. When I ru...
Transforming first n nodes (3 replies, VIP)
microsoft.public.dotnet.xml
I have a large xml (35MB) and I need to transform its top 200 rows using an xsl (in ASP.Net web app). Is this possible to do it in an efficient manner? Thanks.
Backslash "\" is being added to XML Attributes, Is there a way to get rid off it? (9 replies, VIP)
microsoft.public.dotnet.xml
I have not encountering this problem 'till I got VS.NET 2003. Check my xml below how the backlash is added. I tried all possible ways to replace it but nothing happens. Any help will greatly appreciated. SESSION INFO ID ID \"434674640\" TEL NBR VALUE \"2532668900\" PRODUCT hcid \"1600\" /PRODUCT PRODUCT hcid \"1700\" /PRODUCT /TEL NBR /SESSION INFO ID
XML Digital Signatures (8 replies)
microsoft.public.dotnet.xml
Hi everyone, I've been doing my best to understand the specifics of implimentating XML Digital Signatures, but I seem to be missing a fundamental concept. Let me start with a description of the problem I am trying to solve. In my application, people send an XML file that contains data for loans. The application then takes that data and performs various calculations returning the results in an XML ...
.NET WebService method doesn't understand xsd list (7 replies, VIP)
microsoft.public.dotnet.xml
I've posted this before but no one seems to respond. I need to know if this is a bug. I am implementing a webservice against a preexisting schema/wsdl. The schema specifies an element called Type that is a xml schema list of qname (i.e. it wants the message to have a space deimited list of qnames.) However wsdl.exe interprets this incorrectly as 'XmlQualifiedName Types' rather than 'XmlQualifiedNa...
prerequisites for xml (2 replies, VIP)
microsoft.public.dotnet.xml
Hello! I'd like to know what are the reequisites to program in xml
XmlSerializer - public readonly properties not in XML (4 replies, VIP)
microsoft.public.dotnet.xml
Hi, I know the MSDN documents etc specify that readonly properties of an object is not included in the XML that is generated but any idea why? This put some rather severe limitations on how you must implement the classes you wish to serialize with, and make the tool inpractical Most of the cases you will have readonly properties on a class... Any easy work around? IXmlSerializable? XPath Querying ...
.NET , XML , XSL -> XsltArgumentList : Question ? (2 replies, VIP)
microsoft.public.dotnet.xml
Hello, I have a page in .net (DEFAULT.ASPX), i load a XmlDocument, and a XslTransform to Add a XsltArgumentList (with the param : urlPage), and send all to a asp:xml in the page. The asp:xml is good with xml and xsl, but the param is not fill with the value ? Do you have a solution ??? Thanx DEFAULT.ASPX : script language "C#" runat "server" private void Page Load(object sender, System.EventArgs e...
XML Cleaner (20 replies, VIP)
microsoft.public.dotnet.xml
I was hoping that someone could point me in the right direction. I'm looking to develop a tool that will run an XML file against an XSD schema and if a node doesn't conform to the schema, remove that node from the xml (or output a new xml without that node) and continue through the whole document until it is "Clean" (valid). The code to validate against the schema is strightforward, but how do I u...
Set request parameters for web services (2 replies)
microsoft.public.dotnet.xml
My .net application is to consume a Java web services exposed using AXIS. The web service will extract the user name and password to perform some custom authentication. /** Java **/ userId hReq.getParameter("wsUserName"); password hReq.getParameter("wsPassword"); So my ASP.net application will need to set the user id and password to be passed as a HTTP request parameters upon calling the java web ...
What happens to dataset with multiple ReadXML()'s? (2 replies)
microsoft.public.dotnet.xml
FYI: ASP.NET application: First DS.ReadXML reads/loads data fine. The second DS.ReadXML doesn't throw an exception, but I can't find data from the 2nd DS.ReadXML() ?? Any idea where the data is going??? TIA! Scott Fenstermacher sfenstermacher@lrs.com
SQL to XML to XSL (2 replies, VIP)
microsoft.public.dotnet.xml
Hi there, I'm a little stuck and would appreciate ANY help getting over this hurdle. Let's say that I've got a SQL Server stored procedure that includes FOR XML AUTO, ELEMENTS And that within a .Net Web Form, I'd like to call that stored procedure and then apply an .XSLT file to it. What would the code look like to do that? Any help would be GREATLY appreciated. Thanks, K
Validating XML with XSD kept in memory (2 replies, VIP)
microsoft.public.dotnet.xml
Hi all, How can I validate XML against XSD both read from a Database (blob) and where its contents are kept in string variables? I don't want to go the long way round writing them to files before validating. Thank you, Raimund
XmlSerializer and Chars (2 replies, VIP)
microsoft.public.dotnet.xml
When serializing an object that has a Char as a property, the Char is converted into an Integer for some reason. See following code: Private Sub RunThisExample() Dim myLetters As Letters New Letters myLetters.Letter "W" Dim strFile As String "C:/Testing.xml" Dim myXmlSerializer As New System.Xml.Serialization.XmlSerializer(myLetters.GetType) Dim myFileStream As New System.IO.FileStream(strFile, Sy...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification