ASPFriends.com 'aspngxml' list Archive - December 2001
Messages
Page: 1
simple xslt question (2 replies, VIP)
ASPFriends.com 'aspngxml' list
Hello, I would like to achieve fixed number format in my xsl. e.g. to display always xsl:value of select "1" as 1.00 Unfortunately function format number(1, "#.##") doesn't seem to work well in this case. TIA, Tomek
xquery possible? (4 replies)
ASPFriends.com 'aspngxml' list
Can we already use XQuery in .NET / ADO.NET? e.g. statements like this to query XML files? bib { FOR $b IN document("bib.xml")/bib/book WHERE $b/publisher/text() "Addison Wesley" AND $b/@year "1991" RETURN book year { $b/@year } { $b/title } /book } /bib Thanks, Edward Tanguay Free Workshop: How to Install Apache, MySQL, PHP on Windows http://www.net language.com/workshops
Difference between ServerXMLHTTP and XMLHTTP.4.0? (4 replies)
ASPFriends.com 'aspngxml' list
Anyone know what the difference is between Msxml2.XMLHTTP.4.0 And Msxml2.ServerXMLHTTP.4.0 Thanks, Jason
Selectsinglenode/selectnodes with date selection (3 replies)
ASPFriends.com 'aspngxml' list
This is a multi part message in MIME format. NextPart 000 00AA 01C17CE7.93826350 Content Type: multipart/alternative; boundary " NextPart 001 00AB 01C17CE7.93826350" NextPart 001 00AB 01C17CE7.93826350 Content Type: text/plain; charset "us ascii" Content Transfer Encoding: 7bit I am trying to select all elements x which have (date) attributes y and where the dates fall in a year z. XMLRoot.SelectS...
ReadXmlSchema (2 replies)
ASPFriends.com 'aspngxml' list
Thanks to Dan, I finally put all the peices together to load xml into a dataset and have the proper datatypes to sort dates. However, one last thing plagues me, and I suspect it's due to some ignorance on my part of XML, schemas, and encoding types. The problem: I have to format dates like 2001 12 02, I can't use the all familiar 12/2/2001. If I use the later date format, I get a schema parsing er...
Server controls and XML/XSL (2 replies)
ASPFriends.com 'aspngxml' list
Hello all, Can someone give me a good explaination about how to use server controls within a XSL document. I cannot get this to work. Maybe a link to a example?? Thanks in advance! Frans
Getting attributes from an XMLNode Object (3 replies, VIP)
ASPFriends.com 'aspngxml' list
This is a multi part message in MIME format. NextPart 000 000F 01C18225.25E9E190 Content Type: multipart/alternative; boundary " NextPart 001 0010 01C18225.25E9E190" NextPart 001 0010 01C18225.25E9E190 Content Type: text/plain; charset "us ascii" Content Transfer Encoding: 7bit I have an xmlNodeList populated with the selectNodes function. I then loop around each node in the xmlNodeList intending ...
NOT ANSWERED: SQL 2000 XML with Multilingual Data (4 replies)
ASPFriends.com 'aspngxml' list
I am currently using SQL 2000 Stored Procedure to insert or update data from an XML string and it doesn't seems to properly recognize the accentuated characters like " E9", when i look in the database the character was replaced by "?". The problem occurs in my Stored Procedure when i call : EXEC sp xml preparedocument @idoc OUTPUT, @doc Where the @doc variable contains an XML string like ' Root Re...
Remote XML Source (3 replies)
ASPFriends.com 'aspngxml' list
In classic ASP I displayed XML data that I got from a content provider via a URL. To read the XML file I used objXML.Load ("http://db.cis.upenn.edu/cgi bin/serveXML?XML TEXT&SERVICE US Markets&URL h ttp://finance.yahoo.com/q?s DELL IBM CSCO LU UPS TXN SAM NOK NON&d t") When I try to do this with .Net I'm getting errors. Everything works OK if I read local XML files. But when I try to designate a U...
xmlelement simple quastion (2 replies, VIP)
ASPFriends.com 'aspngxml' list
hello, i have made some changes in my xml file, i moved attributes, into nodes, and now, i dont know how to get the value of the node. it was geta ttribute, but i dont find anything with getnode(name..). 20 here is a peace of aspx. 20 XmlDocument xmlDoc 3D new XmlDocument(); 09xmlDoc.Load(Server.MapPath("oddeleni1.xml")); 20 09XmlNode NEMOCNICNI 3D xmlDoc.DocumentElement.LastChild; 09 20 09XmlNode...
Problem with insert more nodes, with the same name? (5 replies)
ASPFriends.com 'aspngxml' list
Hi, i want to insert more nodes, under same name. i got it on my aspx pag e, at least, i think, but i think that the problem is in xml schema, cous e im declaring just one row with the name. How do i do it, so it wont dep ence on that, but it will be variable? 20 im adding osme code. 20 aspx: for (int i 3D 0; i HttpFiles.Count; i ){ Response.Write(Session["FOTOGRAFIE" i ""]); 09newRow["FOTOGRAFIE"...
Problem with updating xml database (2 replies)
ASPFriends.com 'aspngxml' list
Hi, im having problem with updating value in my xml file. 20 here is some code: 20 the column "Show" is way down in xml code. the values are fine, i can dis play them perfectly, but it seems it just doesnt save it... Can anyone he lp me? Thanks, Mike. 09 09contactDoc1.Load(dataFile); 09 09 09 XmlNode editContact1 3D contactDoc1.SelectSingleNode("descenda nt::Aktuality[Show]"); //Check if the XmlNo...
Xml and DataSets (6 replies)
ASPFriends.com 'aspngxml' list
I have some functions that read xml into a DataSet and then bind them to a datagrid. What I'd like to know is if it's possible to type the columns once I've read them into the DataSet. I have a need to sort a DataSet by a date field that came form an xmlfile. The problem is, sorting doesn't seem to work properly. I suspect, because the dataset doesn't recognize the column as a DateTime field. Any ...
NO, RE: Problem with updating xml database (2 replies)
ASPFriends.com 'aspngxml' list
I tried ReplaceChild method, and everything works same, it all goes well, except the xml file is not updated... 20 any ideas? P F9vodn ED zpr E1va Od: "Glavich, Paul C" paul.glavich@eds.com Datum: 04.12.2001 04:51:15 20 I think you may need to do a XmlDocument.ReplaceChild (XmlNode). 20 * Paul Glavich Professional Web Services Email: paul.glavich@eds.com (Currently no fixed phone or street address...
xsl.transform problem. (3 replies)
ASPFriends.com 'aspngxml' list
Hi, im trying to select single node, (that works good) and the display it with my xsl, but it transforms and displays all nodes. I dont know why.. 2E Anybody can help? 20 aspx 20 StringBuilder sb 3D new StringBuilder(); StringWriter sw 3D new StringWriter(sb); 09try { 09 20 09XmlDocument contactDoc 3D new XmlDocument(); 09 09 contactDoc.Load(Server.MapPath("oddeleni1.xml")); XmlNode editContact 3D...
Writing out XML of DataView (2 replies)
ASPFriends.com 'aspngxml' list
I have filtered out some data in my dataset using the dataview filter. Now, I have this 'subset' of data I want to write this out similar to dataset.writexml(). How could I go about doing this? Thanks Steve Gentile Standard Register Software Engineer, MCSE Direct: 937 221 3428 Cell: 937 272 5626 Original Message From: michal tesar [mailto:kariba@email.cz] 20 Sent: Monday, December 10, 2001 12:50 A...
Problem with SelectSingleNode/XSL transform (6 replies, VIP)
ASPFriends.com 'aspngxml' list
Hello, I am haivng problems with transforming the selected node. Either i ts transforming all of them, or just the first one. Can anyone tell where I am wrong? 20 I would appriciate any help. 20 Thanks, Mike. here is some of the code: piece of xsl: ?xml version 3D'1.0' encoding 3D"windows 1250"? xsl:stylesheet version 3D'1.0' xmlns:xsl 3D"http://www.w3.org/1999/XSL/T ransform" xsl:template match 3...
How to format date in XSLT? (2 replies)
ASPFriends.com 'aspngxml' list
I have an XML file with date type records, I would like to show them with a XMLT, but I got next format: 2001 10 22T00:00:00.0000000 02:00 How to format date in XSLT? Thanks
Parsing a remote XML document (5 replies, VIP)
ASPFriends.com 'aspngxml' list
OKAY, I am ready to begin taking a crack at XML pretty heavy. Can someone point me in the direction where I can go to begin accessing a remote XML doc, such as say: http://static.userland.com/tomalak/links2.xml Thanks, Don Makoviney MAKOVISION.COM Handpicked News For Internet Developers http://www.makovision.com/ FREE WebDev/Usability Newsletter "Cutting Thru The Crap" http://www.makovision.com/su...
How to insert, delete and update data in a xmldata file through ASP.NET (2 replies)
ASPFriends.com 'aspngxml' list
Hi, Please help me in inserting, deleteing and updating data in xmldata file in ASP.NET. Thanks, Vinod.
XML Performance (2 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspngdata] to [aspngxml] by Charles M. Carroll darthcarroll@asplists.com This is a multi part message in MIME format. NextPart 000 005D 01C18874.ADD780D0 Content Type: text/plain; charset "US ASCII" Content Transfer Encoding: 7bit Greetings, I was wondering, has anyone done any benchmarks on XML performance with .NET? I've been assigned to build a highly dynamic data storage system, wh...
msxml4 memory usage (2 replies)
ASPFriends.com 'aspngxml' list
Hi For performance reasons we are caching a large FreethreadedDOMDocument.4.0 in an Application var in IIS 5.0 The problem is that after a few days, the object is using vast amounts of memory (up to 1GB). The strangest thing is, that if I then run an ASP page that simply creates a FreethreadedDOMDocument.4.0, load some xml into it and then exits the page, the overall memory usage drops dramaticall...
Retrieving attribute values (4 replies)
ASPFriends.com 'aspngxml' list
Given something like: book id "1" title "War and Peace" / how much less efficient is doing this: dim tstr as String myNode.Attributes.GetNamedItem("title").Value as opposed to doing this: dim tstr as string tnode.Attributes.Item(1).Value ? MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
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