ASPFriends.com 'aspngxml' list Archive - April 2002
Messages
Page: 12
Not clear on InferXmlSchema method... (3 replies)
ASPFriends.com 'aspngxml' list
Copied from [aspngdata] to [aspngxml] by Charles M. Carroll charlesmarkcarroll@yahoo.com I'm not clear on how the InferXmlSchema method of the DataSet object works. My WROX beta 2 book says the following: "Uses a schema provided in a TextReader, XmlReader, or Stream object, or in a specified disk file, to infer the structure of the data in the DataSet." The .NET SDK (both beta 2 and final) say thi...
AddExtensionObject and properties (2 replies)
ASPFriends.com 'aspngxml' list
Hi, Does anyone know how to access the properties of an object added with the AddExtensionObject function of the XsltArgumentList class? For instance, if I add an object with a Name property and a GetName function (that simply returns the Name), the following does not work: xsl:value of select "obj:Name"/ while the following does: xsl:value of select "obj:GetName()"/ The first construct just retur...
How to get the XML in the required format from DATASET (2 replies)
ASPFriends.com 'aspngxml' list
Hi all, I have a dataset which will read data from 2 tables, To which(dataset) i would like to add a constraint and get the records in Header/detail fashion in XML. That means when I say GetXml of dataset I should, get something like this Content ContentID 1 /ContentID ContentName /ContentName File FileID /FileID FileID /FileID /File /Content assuming my first dataset contains Content data and sec...
query xml to dataset (15 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspngwebservices] to [aspngxml] by Devin devinr@drone interactive.com Instead of querying a database, I wish to query an xml file and have the results returned within the web service. Is this possible? I've been reading and searching for the past few days see lots of examples of database query, and that works just fine, but nothing on xml query to a dataset. I do see aspx pages query x...
XMLHttp newbie question (2 replies)
ASPFriends.com 'aspngxml' list
Hi, I have some code in asp along the lines of Set xmlhttp Server.CreateObject("Msxml2.XMLHTTP.4.0") xmlhttp.open "POST", PRESS URL,false xmlhttp.Send sRequestXML PressXMLDoc xmlhttp.responsetext where both sRequestXML and PressXMLDoc are xml. I want to migrate this to ASP.Net but can't find the XMLHttp in the CLR. Tried things like HttpWebRequest PressCall (HttpWebRequest) WebRequest.Create(PRESS...
i cannot read the data from xml file (2 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspngfreeforall] to [aspngxml] by Yannick Smits dotnet@stepcompany.com Hi, I am working in vb.net. I am getting runtime error when i read XML file. could u please tell what is the error in the following XML file. ?xml version "1.0"? ! Program names and ID's Reservation Room Reservation MakeReservation type "M" id "Roma001.aspx" DspSeq "1" Make Room Reservation /MakeReservation ModifyRe...
Hashtable to xml? (2 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspngdata] to [aspngxml] by devin devinr@drone interactive.com Does anyone know of a efficent way to convert a hashtable to xml? thanks
Returning XML from a dataset (2 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspngdata] to [aspngxml] by devin devinr@drone interactive.com Hi Is it possible to return a DataView object as an XML stream? I'm working with a DataSet that loads a single xml file into a datatable. I need to then filter that datatable either using DataTable.Select() or a DataView and return the resulting data as XML. It seems this should be very easy am I missing something? Thanks D...
Grouping on a Click event... (2 replies)
ASPFriends.com 'aspngxml' list
Hi All I have an interesting situation here. I using XSL/XML/ASP and getting a HTML table as output. Each column header of the the columns in the HTML table is a button which can be used to sort in ascending or descending by clicking on the button. Everything works fine until here. When I click on a column called ID, the Table has to be grouped by the ID column data. But when rest of the columns a...
binding to XML (3 replies)
ASPFriends.com 'aspngxml' list
MessageHello all, I'm trying to bind a Repeater object to an XMLNodeList. It just won't work .. any ideas/examples of binding to XML withOUT using a dataset? thanks
XML insert list of nodes (3 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspngcs] to [aspngxml] by alotofmail@tripleasp.net alotofmail@tripleasp.net Hi all, Does anyone know how do I attach a list of nodes (type of XMLDocument) into a node of type XMLElement in C#? Thanks for your time and help! Mohamad Original Message From: Priya Ghate [mailto:priya nka73@hotmail.com] Sent: Thursday, April 11, 2002 5:34 PM To: aspngcs Subject: [aspngcs] Basic Question Hi,...
Formatting XML in ASP.NET (6 replies)
ASPFriends.com 'aspngxml' list
I am new to XML and have some questions on stylesheets. I have an XML doc in this format, which has come from a saved Dataset: ?xml version "1.0" ? NewDataSet QueryResults Reference 40071441 /Reference Member Forename Claire Louise /Member Forename Member Surname Clark /Member Surname Member DOB 1969 08 14T00:00:00.0000000 01:00 /Member DOB /QueryResults QueryResults Reference 40080815 /Reference ...
How do I loading two DataSet tables into a single DataGrid? (2 replies, VIP)
ASPFriends.com 'aspngxml' list
I've been using XML for over a year now and I'm very set in the way I build my XML so that I am not repeating a lot of data. I believe that when the XML becomes grossly larger than the data you are sending via XML, that the advantages of XML become lost. I have some COM objects are generate XML and I have converted them into a Web Services that is called via ASPX pages. I like the format of the XM...
IOException in XmlTextReader (14 replies)
ASPFriends.com 'aspngxml' list
Hello everyone, I'm having a curious problem that I have been trying to solve for a few days now. Hopefully one of you out there can offer a suggestion. I've created a Windows Service Application that monitors a directory for newly created XML files. These files are created by another application, which is a Java based application also running as a service. This java application, listens for incom...
XML -> DataGrid (4 replies)
ASPFriends.com 'aspngxml' list
Hi, Can someone please tell me how to load this URL http://p.moreover.com/cgi local/page?c CRM%20news&o xml (it's XML) into a datagrid with VB.Net? Cheers, Alex
free xml menu control on MSDN (4 replies)
ASPFriends.com 'aspngxml' list
*** crossposted to [aspngfreeforall] **** Chris Lovett article "A Practical Comparison of XSLT and ASP.NET" on MSDN http://msdn.microsoft.com/library/default.asp?url /library/en us/dnexxml/html/xml02192001.asp includes a control that creates menu from a XML source.... but the code download link on the article points to a beta1 version that doesn't work in v1 http://msdn.microsoft.com/library/en us...
opposite of getxml()? (2 replies)
ASPFriends.com 'aspngxml' list
I've used DataSet.GetXml() to get into a string, but how do I later populate another DataSet with that string? I cannot find a ReadXml overload that takes a string. James Shaw http://CoverYourASP.com/ Download it. Run it. Learn it. http://ASPRSS.com/ Publish ASP with RSS XML http://ShawThing.com/Consult.asp Doing it right the first time.
Checking the already existed element (2 replies)
ASPFriends.com 'aspngxml' list
Hi all, How could I check the existent of an XMLElement in an XMLNode (that always append the new XMLElement found in a loop) before trying to append it, to avoid duplicate elements in the node? Is there any function in XMLNode similar to the ArrayList.Contains or String.IndexOf? Thanks for your help in advance! Mohamad
Removing child nodes (2 replies)
ASPFriends.com 'aspngxml' list
Hi there I'm using the GetElementById() method to return a single node from a larger XML document (pretty obvious I know bear with me : )). I have recently had to add a new 'level' to the XML document so that the child elements which are being returned by my function, now have child elements of their own. Is there any way of not returning these new child elements so that I am still just returning ...
XSLT not grabbing certain tags (2 replies)
ASPFriends.com 'aspngxml' list
I'm attempting to transform the XML output from Moreover. This is the xslt I'm using: xsl:for each select "moreovernews/article" h4 xsl:value of select "headline text"/ /h4 div align "center" center table border "0" width "95%" cellpadding "2" xsl:for each select "document url" tr td a xsl:attribute name "href" xsl:value of select "url"/ /xsl:attribute xsl:attribute name "target" blank /xsl:attrib...
xmltextreader and https (5 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspngfreeforall] to [aspngxml] by Charles M. Carroll charlesmarkcarroll@yahoo.com I am trying to use a xmltextreader to read xml from a https location ex https://someone.com/file.cgi I can reach this file from the browser with no trouble but can't read it from code into a xmldatareader. I copoied the xml file and put it on my local server as file.html and I can read it into the xmldata...
alternating style with xslt (2 replies)
ASPFriends.com 'aspngxml' list
Excuse me if this has been asked before, but can someone show me an example of how to create an alternating style with XSLT, For example, a table with alternating row colours? Many thanks
writing xml with formatting (2 replies)
ASPFriends.com 'aspngxml' list
I'm generating a bunch of xml files for an app that I'm building. Is there a way to write it out preformatted? It would save me a ton of grief, (I'm diff'ing to see that I've generated properly) if there is. Thanks, Chris
converting xmlnodelist to dataset (2 replies)
ASPFriends.com 'aspngxml' list
I have a webservice that returns an XmlNodelist. The consumer is a .net client and what I want to do is take the innerXML and load it into a dataset so that web controls can be bound. Thanks, Karuna Do You Yahoo!? Yahoo! Tax Center online filing with TurboTax http://taxes.yahoo.com/
In memory XML database (2 replies)
ASPFriends.com 'aspngxml' list
I wanna create an in memory XML database. But what I understand is that when I use a schema to define my dataset, I have to access the data via a table structure. So when I want to add something, I have to add a row. Is this correct?
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