ASPFriends.com 'aspngxml' list Archive - July 2002
Messages
Page: 12
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/
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 ...
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
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
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?
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
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...
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 ...
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...
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...
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...
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
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...
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...
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.
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...
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 ...
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 ...
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...
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....
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...
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
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...
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...
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...
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