.NETGURU
ASPFriends.com 'aspngxml' list
Up to: Discussion Lists

  • RSS Syndication
  • Latest Discussions Archive
    Exception Serialization Question (7 replies)
    ASPFriends.com 'aspngxml' list
    Why does this throw an exception ... Dim oXmlSerializer New XmlSerializer(GetType(Exception)) ' why can't I do this? ...
    Help with converting XmlTextWriter to XmlDocument in Webservice (3 replies)
    ASPFriends.com 'aspngxml' list
    Hi, I have been trying to get a webservice to return a XmlDocument to the client for a stock quote. However the XML feed that I am trying to retrieve doesn't seem to be formed properly, to load it in a XmlDocument. 20 So, I have navigated to the XmlNode that I want to start at and using the XmlTextWriter, I create a new Xml document with the nodes that I want. However, when I return the XmlWriter,...
    MICROSOFT.DATA.SQLXML.DLL (PART 2) (3 replies)
    ASPFriends.com 'aspngxml' list
    DEAR LIST, Before two days I posted message that I had problem with Microsoft.SqlXml.Data.dll, unfortainly I still have it, and it getting me crazy, here is the full error that I'm getting and my page, and my vb.page (they are pretty pretty simple but it dosent work), I add it refrence for this project in project/reference (and it was the same), after I add it Refrence path for the folder in the P...
    Using MS DOM to create XML (4 replies)
    ASPFriends.com 'aspngxml' list
    I hope anybody can help me with this problem. I have a class that takes different parameters (all strings) and puts them into the DOM, with the following format: root node1 1 /node1 node2 2 /node2 /root What I need now is to insert a sub tree (newnode) one node at the time, like this: root node1 1 /node1 newnode newnode1 /newnode1 newnode2 /newnode2 newnode node2 2 /node2 /root The code that I am ...
    current xml path location (7 replies)
    ASPFriends.com 'aspngxml' list
    While I am traversing through my XML, is it possible for me to get the PATH of where I am at any given moment in the xml? There doesn't seem to be this functionality...is this possible?
    MICROSOFT.DATA.SqlXML.DLL REGISTRATION PROBLEM (3 replies)
    ASPFriends.com 'aspngxml' list
    Dear List, I had a problem with the Microsoft.Data.SqlXml DLL for the support of SQL Server 2000 XML. The point is, when I 'm working let's say on client exe the dll works properly, but when I try to compile with vbc.exe or even to import on webform it's raising an error: The type "SqlXml" it was not found in the namespace: Microsoft.Data.SqlXml After a searching in the MSDN I found it there is no...
    Help needed tying XML document to Schema (11 replies)
    ASPFriends.com 'aspngxml' list
    Hi all, I create an XML file and schema from an Access database table. Here is how the XML file looks when I display it using Internet Explorer: My question is: how does this xml file tie to my schema file? XMLTopFolder tabTopFolder TopFolderID 1 /TopFolderID TopFolderName [do not delete] /TopFolderName SequenceNum 1 /SequenceNum Link //http.www.bob /Link ShowInContentsFlag false /ShowInContentsFl...
    Serialize an object into XML (2 replies)
    ASPFriends.com 'aspngxml' list
    Hello Folks, I currently am at a loss on how to perform some seemingly simple object serialization, for those that have an in dept knowledge about the subject I'm attempting "shallow" serialization. I currently am able to serialize an object using this code: Imports System.Xml Imports System.IO Imports System.Xml.Serialization Public Class dummyItem Public itemCode As String Public itemDescription...
    XML to SQL problem (15 replies)
    ASPFriends.com 'aspngxml' list
    Hi, I have been trying to take a xml file and dump it into a SQL Server 2000 table without much luck. This is my first attempt working with xml so I may be way off base. Here is my code: If reader.NodeType XmlNodeType.EndElement Then If reader.Name.ToLower() "tabCatalog" Then Dim FVArray As String() AddSeparator(fieldNamesValues, ","c) Dim fields As String FVArray(0) Dim fieldVals As String FVArra...
    Unresolved: Dumb Question, I'm Sure (3 replies)
    ASPFriends.com 'aspngxml' list
    I posted a few days ago about how to perform a FOR XML query from SQL and get the entire document into a string. Dan W. helped me by saying use the MoveToContent and ReadOuterXml methods, but that appears to only get the first record. I need to have a well formed XML document from this, so I guess I need to add a root element or something. I have a deadline, so I don't have time to read all the bo...
    How to modify XML files with ASP.NET web forms: DataSets or XML readers/writers? (4 replies)
    ASPFriends.com 'aspngxml' list
    Is loading the XML file as a data source to a DataSet the most efficient way to code for using web forms to modify XML files? I don't find examples of web forms working directly with XML files. Is it more of a challenge to use the XML readers and writers for XML file maintenance compared to using ADO.NET with DataSets? Gary
    Writing to SQL from XmlDataDocument problem (5 replies)
    ASPFriends.com 'aspngxml' list
    I am new to working with XML files so I am hoping someone can help me out. I have a xml file and schema that a customer sent me. I want to take this xml table and load it into my SQL Server 2000 database in a table which already exists. I have managed to load the xml table into a XmlDataDocument. Now I want to read thru the XmlDataDocument and INSERT or UPDATE into my SQL table. I am using ASP.Net...
    Help Getting XML Doc from SQL 2000 (3 replies)
    ASPFriends.com 'aspngxml' list
    I know this is probably really simple, but the answer eludes me. All I want to do is get a well formed XML document from a SQL Server 2000 FOR XML query and turn it into a string. What is the easiest way to do this? Thanks! Ambrose ****************************************************************************** The Company reserves the right to amend statements made herein in the event of a mistake....
    SQLXML Templates & Schemas (2 replies)
    ASPFriends.com 'aspngxml' list
    I've got a working template and schema set up, but the returned XML does not have all the attributes if some of them are not present in the records themselves. For example, if I query accounts, I get a list of accounts, some of which have all of the attributes (columns) from the accounts table and others do not. I'm concerned that this may not work with Biztalk (though I haven't tried it yet). Jus...
    XPath Question (5 replies)
    ASPFriends.com 'aspngxml' list
    Is there a way to select just the top 1 of certain child elements. For instance, let's say I've got a customer who can have one or more addresses and one or more accounts. How would I form the XPath query to select the customer and just the top 1 address and top 1 account? Thanks. Ambrose ****************************************************************************** The Company reserves the right ...
    Serverxmlhttp (4 replies)
    ASPFriends.com 'aspngxml' list
    Hi All I'm using serverXMLHTTP but I keep getting the response Object required 'ResponseBlock Live ' whenever I use the following code on the line "set list objXMLReceive.getElementsByTagName("Result")" Set objSrvHTTP Server.CreateObject("MSXML2.ServerXMLHTTP") set objXMLSend Server.CreateObject("MSXML2.DOMDocument") set objXMLReceive Server.CreateObject("MSXML2.DOMDocument.4.0") objXMLSend.async ...
    trasformNode still (10 replies)
    ASPFriends.com 'aspngxml' list
    Hi, I have a domDocument that I want to transform. I obtain the domdocument by doing an Xpath selection: "tempXmlDom xmlDomData.selectSingleNode('//diffgr:diffgram/dsPart');" and the transformation returns an empty xml. then I copy the xml that is inside the tempXmlDom object after the Xpath selection and put it in a xml file on the disc, then I change the way of doing things and load the xml from...
    XML data islands (3 replies)
    ASPFriends.com 'aspngxml' list
    Can anyone point me to sample code for working with (client side) XML data islands that generate tabular master/detail datasets that expand & collapse.
    C# and WebDAV (3 replies)
    ASPFriends.com 'aspngxml' list
    Hello, I'm having some problems with WebDav and XML. I couldn't get the same result with DOM and Sytem.XML . When I tried with System.XML, I got this message: System.Xml.Xsl.XsltException: Prefix 'a' is not defined. but when I tried with DOM it works. Here is the code in C#: string xml " ?xml version \"1.0\"? "; xml " a:multistatus xmlns:b \"urn:uuid:c2f41010 65b3 11d1 a29f 00aa00c14882/\" xmlns:c...
    Looking for articles on using XML in Content Management Systems (6 replies)
    ASPFriends.com 'aspngxml' list
    I have developed a number of Content Management Solutions where the html for each page is stored in a database, and it all works pretty well, but I now want to start storing the page information as XML so that the content can be formatted for use on web browsers as well as pocket PCs and other hand held devices. I understand that this can be done using XML and XSLT templates, but have no idea wher...
    Write XML file to a SQL 2000 database table (3 replies)
    ASPFriends.com 'aspngxml' list
    I have not worked with XML much so this is probably a very dumb question. I have an XML file and a schema file that a customer has sent us. I want to read this XML file and dump it into our SQL Server 2000 database table. I cannot find a good example of this anywhere. Can someone show me some code on how to do this or show me a web site that has a good example? Thanks, Bob
    condiational XSLT transformation (2 replies)
    ASPFriends.com 'aspngxml' list
    I have an ASP.NET application that outputs XML and then does a transformation into other format using XSLT. One of the formats it outputs is comma delimited. However, it doesn't really check the data. I need it to quote (") any fields with a comma in it and if any fields have a quote within it I need it to surround that with quote (") and double quote the quote (like so...""). However, this code w...
    NodeType values in C# vs. in VB.NET (3 replies)
    ASPFriends.com 'aspngxml' list
    Hi, I am confused about this... When I am writing in VB.NET and access the NodeType property of an XmlNode object, I get back a number such as 1 for elements, or 2 for attributes, or 3 for text nodes (similar to working with NodeType properties in MSXML's DOM implementation for instance). But when I do the exact same thing in C#, I get back the name instead: Element, Attribute, Text, and so on. Wh...
    XMLHTTP equivalent in .NET (3 replies)
    ASPFriends.com 'aspngxml' list
    I want to remote a URL query to SQL Server. What is the namespace equivalent in .NET for the XMLHTTP object? Thanks, Tim From: "Khanh Nguyen" khanh@atomicweb.net Reply To: "aspngxml" aspngxml@aspfriends.com To: "aspngxml" aspngxml@aspfriends.com Subject: [aspngxml] Need Help with XML in .NET? Date: Wed, 10 Jul 2002 23:21:17 0700 Moved from [aspngfreeforall] to [aspngxml] by Tony Stark IronMan@aspe...
    Need Help with XML in .NET? (2 replies)
    ASPFriends.com 'aspngxml' list
    Moved from [aspngfreeforall] to [aspngxml] by Tony Stark IronMan@aspelite.com I have this task. After reading what I need to do, can anyone offer what techique I should use to do this most efficiently. I have to pass an xml message to a remote object for authorization. The xml message is quite large. There are over 50 elements to this document. I only need to set 5 elements with values. Do I have ...
    Serialization vs Save (4 replies)
    ASPFriends.com 'aspngxml' list
    Moved from [aspngfreeforall] to [aspngxml] by Michiel van Otegem mvo@mail.aspnl.com I have extended the XmlDocument class to create a class whose data is stored as semi complex XML but have very specific methods to access the data instead of the general methods that are supplied by XmlDocument. I want to be able to serialize the class but I am not sure if is better to use the Save method of the Xm...
    Regular Expression in Schemas - xsd tool (2 replies)
    ASPFriends.com 'aspngxml' list
    Hi I have a set of standard schemas for which i create class files in c# using the xsd tool provided in .net. Now if the schema contains an element with a regular expression (email address/date etc) pattern associated, when i run the xsd tool, the regular expressions are not mapped to the class file which is generated. How to handle this situation? any pointers? regards Sudhir Kumar P
    XMLException (6 replies)
    ASPFriends.com 'aspngxml' list
    Hi, I get the following XML exception: [XmlException: There is invalid data at the root level. Line 1, position 1.] Any ideas why?
    XML doc and FileStream (4 replies)
    ASPFriends.com 'aspngxml' list
    Moved from [aspngfreeforall] to [aspngxml] by Rachel Reese rachelemilyreese@hotmail.com Hi, i've loaded an xml doc using filestream and modified some of its elements, now i need to load another document using another filestream and concatenate the second stream on to the first stream as an additional element of the modified xml doc. Any suggestions and cheers in advance
    XML andEncryption (5 replies)
    ASPFriends.com 'aspngxml' list
    I'm planning on primarily using XML in an application I am developing to store simple data. I recall seeing something a while back on the topic of encrypting data through .net, then storing it in XML (and obviously be able to retrieve and un encrypt the data). Can anyone point me in the right direction? Much appreciated. Robert
    nested xml from dataset (2 replies)
    ASPFriends.com 'aspngxml' list
    Hi, if anyone could give me some tip of how can I obtain from a dataset that have two tables related as parent child (this is defined in the xsd schema of the dataset) the xml representation of a dataset with the child nested inside the parent, because I already have defined the relation and seted the property of nested of this relation to true and I still get the representation of the two tables ...
    XSL Transform from XML to PDF in .NET (3 replies)
    ASPFriends.com 'aspngxml' list
    I wanted to know if it is possible to transform an XML file to pdf output in ASP.NET web application using XSL stylesheet? If so then how?? There is always a better job for you at Monsterindia.com. Go now http://monsterindia.com/rediffin/
    databinded checkbox (2 replies)
    ASPFriends.com 'aspngxml' list
    Hello, I Have a html input control of type checkbox that I Bind to a boolean element in a xml data island. When the element is true (of course) the checkbox is checked and when is false is unchecked, but when I click the checkbox to modify the value the resulting xml document that I get the value of 1 if checked and 0 if not instead of true or false wich is what I need. If someone knows why this h...
    ReadXML (2 replies)
    ASPFriends.com 'aspngxml' list
    I tried to load this xml into a typed dataset and the only thing that load into it is: dsPart/ this is the code that I use to load the XML: dsPart dsPartAux new dsPart(); dsPartAux.ReadXml("http://localhost/RMAapp/RMAapp WebUI/Parts.xml"); Parts.xml dsPart Parts partNo x5 /partNo descr hd /descr price 100 /price ret true /ret sentaiCode 345 /sentaiCode /Parts /dsPart I wish to know why the dataset...
    Typed dataset (2 replies)
    ASPFriends.com 'aspngxml' list
    I have a typed dataset called dsPart. When I use a dataadapter to fill the dataset with data from a sql database I get a xml representation diferent that the one that I get when I fill the dataset with the method dsPartAux.Part.AddPartRow("x1", "memoria Ram", 60, false, "123") when filling with the dataadapter I get this xml dsPart Table partNo x1 /partNo descr memoria Ram /descr price 60 /price r...
    Transforming XML document into required format... (5 replies)
    ASPFriends.com 'aspngxml' list
    If I have an XML document from a DataSet that shows all the users in my database... ?xml version "1.0" standalone "yes"? NewDataSet Users Users Fname Greg /Users Fname Users ID 1 /Users ID /Users Users Users Fname Bob /Users Fname Users ID 2 /Users ID /Users /NewDataSet What would be the easiest way to automatically convert the XML document, or the Dataset to write an XML document to look like thi...
    Permissions when writing to XML file (2 replies)
    ASPFriends.com 'aspngxml' list
    Hi, When trying to write the contents of a dataset into an XML file, I get the following error... Access to the path "C:\Program Files\mydir\XML from dataset.xml" is denied. What kind of permissions do I need to set up for my virtual directory? I am running windows 2000. I have given both the IUSER and the ASPNET accounts anonymous access, and write permissions to the folder as well... Greg
    Performance of .NET XSL Transformation (3 replies)
    ASPFriends.com 'aspngxml' list
    Hi, everybody. Has anyone tested performance of .NET XSL transformation? Are there any performance results and optimization tips available for .NET classes (XmlDataDocument, XslTransform)? My performance comparison tests of .NET vs. MSXML4 show that .NET is from 2 to 20 times slower on the same source files (though it is difficult to come up with identical tests). Only XPathDocument performs reaso...
    XMLDataDocument (3 replies)
    ASPFriends.com 'aspngxml' list
    Hi, I have a XMLDataDocument that I Synchronize to a Dataset in this way: dsPart dsTemp new dsPart(); //dsPart is a typed dataset that is defined in another place XmlDataDocument doc new XmlDataDocument(dsTemp); doc.LoadXml(" Table partNo x2 /partNo descr Procesador /descr price 100 /price ret true /ret sentaiCode 345 /sentaiCode /Table "); note: as the msdn says when I load the xml into the XMLDa...
    No subject given (4 replies)
    ASPFriends.com 'aspngxml' list
    Hi, I have a dataset that have two tables RMA and RMADetails wich is a child of the first one. In the dataset I create a datarelation and put the nested property to true. I have fill the dataset with the two data adapters and I want to send the xml to the browser but in a way that the details are nested inside the RMA element. I use this code to obtain the xml inside the dataset: public String Get...
    Validating XML in XmlDocument object? (2 replies)
    ASPFriends.com 'aspngxml' list
    Hi all, In ASP.NET, I am trying to validate the content in an XmlDocument object before using the Save() method to save the results to a file. I have first opened a XML file, then used DOM methods to add more to it, now I want to validate the total result before saving if invalid, the new structure won't be saved over the old file, and an error message will be shown to the user stating why it is i...
    XMLHTTP (2 replies)
    ASPFriends.com 'aspngxml' list
    Moved from [aspngfreeforall] to [aspngxml] by devin devinr@drone interactive.com Hi, I wish to know how can I read in the codebehind file of the page that receive (in this case Part.aspx) the XML that I send to the server with this client code. function sendPart(xmldoc) { var xmldoc new ActiveXObject("MSXML2.DOMDocument"); xmldoc dsoPart.XMLDocument; var poster new ActiveXObject("Msxml2.XMLHTTP");...
    Xml/Xsl (4 replies)
    ASPFriends.com 'aspngxml' list
    Hi all, I have a question regarding XSLT transformations within .NET. I have an XML file that is being transformed using an XSL style sheet. That's all working fine. I can also output the transformed XML to the browser. The problem is that I want to be able to CONTROL WHERE the Transformed Text goes. Right now, the only way I could get it working was using Response.Output, and that's outputting th...
    Escaping inline HTML to the browser via XSLT (4 replies)
    ASPFriends.com 'aspngxml' list
    What is the best way to escape inline HTML tags to display in an XML HTML transformation. My XML file has a body tag contains HTML tags which I want to escape to the browser. At the moment I am using xsl:output : xsl:output method "html" indent "yes"/ and simply pulling the body tag's text using: xsl:value of select "body" / But this seems to remove the HTML tags (mostly p 's and br/ 's) in the ou...
    Schema repository? (2 replies, VIP)
    ASPFriends.com 'aspngxml' list
    Hi! I want to develop a service that sends email messages according to data it receives in a given XML message. I thought before I reinvent the wheel for the 100th time, I'd try to find a broadly accepted schema for an email message to no avail. Is there such a thing and if so, where? Is there maybe a repository site for schemas for different objects/areas? Thanks, Remas http://www.aspalliance.com...
    Binding DropDownList control to styled XML (10 replies)
    ASPFriends.com 'aspngxml' list
    I want to bind a server side Dropdownlist control to an XML file. The "option" elements of the list are from an XML file are formatted and sorted using XSLT. I now want to bind the contents of the transformed XML to a Dropdownlist control. Is this possible?
    loading a file into xmlwriter (3 replies)
    ASPFriends.com 'aspngxml' list
    Hi all Using a xmltextwriter how do I write to an already existing file. when iam writing into an already existing file it is overwriting the existing the file. please help me Regards Gigy Chacko Chat with friends online, try MSN Messenger: http://messenger.msn.com
    XML to PDF or Printing reports via XML (3 replies)
    ASPFriends.com 'aspngxml' list
    I'm having a very hard time deciding what direction to take: I need to print reports from XML. 1. I've been reading about FOP to implement XML to PDF transformation using XSL formatting objects. If this route is taken, what does VS.NET have to offer? 2. There are other commercial products out there (one being http://big.faceless.org/products/report/index.jsp) that bypass XML formatting objects. Ar...
    Applying XSL (4 replies)
    ASPFriends.com 'aspngxml' list
    How do you apply an XSL to an XML source and display it, say, in a browser? Do You Yahoo!? Yahoo! Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
    xmlWriter (5 replies)
    ASPFriends.com 'aspngxml' list
    Hi everybody In asp.Net iam using a xmlwriter object and creating a word document from an xml document and XSLT. After creating the document i have to convert it into an RTF format file. How do i do that programmatically. Is there any option 'save as'?? Thanks in advance Gigy chacko MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
    Visit the archive for messages from this site.
  • May 2001 (7 items)
  • June 2001 (1 item)
  • July 2001 (7 items)
  • August 2001 (7 items)
  • September 2001 (8 items)
  • October 2001 (45 items)
  • November 2001 (27 items)
  • December 2001 (23 items)
  • January 2002 (22 items)
  • February 2002 (18 items)
  • March 2002 (32 items)
  • April 2002 (28 items)
  • May 2002 (23 items)
  • June 2002 (20 items)
  • July 2002 (26 items)
  • August 2002 (5 items)
  • June 2004 (1 item)
    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