microsoft.public.dotnet.xml Archive - August 2002
Post a message to this list
Messages
Page: 1234
xml structure (5 replies)
microsoft.public.dotnet.xml
When you use for xml auto each table comes back as a seperate level. I need some tables to come back at the same level...for example Patient Patlimitatations PatActivities needs to be Patient Patlimitatations PatActivities What is the easiest way to accomplish this?
escaping characters like &, <, >, etc (3 replies)
microsoft.public.dotnet.xml
Hello All, I am implementing a web based project which used XML quite exhaustively. as I render all the output via XSL. I have faced the problem many times that if any developer forgets to escape a string either enter by the user or extracted from the DB which had any of these charaters, then the XSL bombs of reason is that the document is not well formed. But escapting each and every string eithe...
Rich text in memo field (2 replies)
microsoft.public.dotnet.xml
I am trying to create a xml file from sql server and then import it in a foxpro table format. In the sql server table I have a memo field that is in rich text and it generates &amp;#x0; just before the end tag for the field. If I physically delete the &amp;#x0; I can get it to work in foxpro. I have been trying to access the nodes or using a validating function to clear it up with little success. I am gen...
General XML Question (3 replies)
microsoft.public.dotnet.xml
Hi. 1. What is the best way to get data out of a SQL database in a &quot;specific&quot; XML format? 2. Is there a better way than going thru the recordset (dataset) and manually creating the tags and then saving the text file to disk using FSO, etc? 3. Should I ask for the data in XML in the first place, or format the SQL data into XML after it is received? The format I need is something like this: tree ent...
Writing XML in VB.NET (2 replies)
microsoft.public.dotnet.xml
Is there an easy way to read and write to an XML file using ADO.NET? (like if it was just another relational database?) Thanx, Christina
Determining errors in XSLT (2 replies)
microsoft.public.dotnet.xml
Hello, When using the MSXML object with vb verion 6, after loading an XSLT file, you could easily check it for parse errors, which would describe the exact source and position of the error. However, with XML and .net, I can only capture XSLT errors which do not specify the position or the specific source of the problem with the stylesheet. How is this done with .net? Jason *** Sent via Developersd...
This should be easy. (2 replies)
microsoft.public.dotnet.xml
I thought you could do: x doc.SelectSingleNode(&quot;sum(//Products/Product/@UnitPrice)&quot;) But I get error &quot;The expression passed to this method should result in a NodeSet&quot;. Anyone know how to get this to work? Thanks, Scott Swigart
SOAP performance question (2 replies)
microsoft.public.dotnet.xml
I've got a server app that gets requests for arrays of single precision floats, with,say, 100,000 elements in each array. I'd like to make a web service that provides this data, but I hesitant with the idea of encoding huge arrays in XML. I know the defacto xml would look something like: list element 1.88734e 004 /element element 2.28058e 001 /element element 9.83105e 003 /element ... ... (100,000...
Converting a string format into a format for an XMLSchemaCollection (2 replies)
microsoft.public.dotnet.xml
Hello, I am still learning the ins and outs to xml and am running into a bit of struggle...I am storing an xml schema (xsd schema) in a database. I am pulling the schema from the database and I put the result into a string variable. I am eventually going to validate some xml against this schema that I just got from the database using the XmlValidatingReader. The code that I am having problems with...
Adding a child to an existing node. (2 replies)
microsoft.public.dotnet.xml
Hi, My problem is that I want to add a new node(with some attributes) under an existing one using the .net framework. Here is my code: 'declaration Dim xmlTextAttribute As XmlAttribute Dim xmlUrlAttribute As XmlAttribute Dim NewNode As XmlNode 'create and initialise the 'text' attribute xmlTextAttribute dom.CreateAttribute(&quot;Text&quot;) xmlTextAttribute.Value txtNomAlbum.Text 'create and initialise the ...
XML appending (2 replies)
microsoft.public.dotnet.xml
Hey, How can I append data to an XML document? For example, if I got an existing file: ?xml version &quot;1.0&quot;? myshare share name dylan.mp3 /name size 7 MB /size type mp3 /type infolder c:\ /infolder /share /myshare How can I append another share block using C# code? Thank you, Steve.
Member variables loss their values between WebMethods calls (2 replies)
microsoft.public.dotnet.xml
I am invoking .NET WebService written in C#/VS.NET and consuming it in also C# WinForms. The following is a simple WebService which I made to demonstrate the problem... The web service should add two numbers together. The two numbers are set up by two WebMethods, and values are stored in member variables of the WebService. A third WebMethod is used to add the two numbers together.... public class ...
HTML output includes unwanted spaces and indentation (2 replies)
microsoft.public.dotnet.xml
..Net's XSLTransform is doing additional formatting that I don't want in my html output. I have this line in my XSLT td img src &quot;left.jpg&quot;/ /td Although there are no XSL statements in there when I look at the output from the transform I have either Using HTMLTextWriter/TextWriter: td img src &quot;left.jpg&quot;/ /td OR Using an XMLReader: td img src &quot;left.jpg&quot; / /td When rendered in IE both of these add a ...
Subclassed XPathNodeIterator not accepted by XslTransform? (4 replies)
microsoft.public.dotnet.xml
Hi! I'm making a custom XSLT extension object (to be used via XsltArgumentList. AddExtensionObject) and one of its functions accessible from XSLT returns a node iterator: v public XPathNodeIterator UniqueNodes( XPathNodeIterator nodes, string keyXPath ) ^ So far so good. Returning XPathNodeIterator acquired from the calls to standard .NET XPath classes works OK, but trying to return my own custom ...
Xslt performance with key (3 replies)
microsoft.public.dotnet.xml
Hi I have problem with transformation large XML file, When I use for xslt transformation msxsl from commandline performance is ok about 10 min. When I use object from .Net xPathDocument or XmlDocument for the same transformation performance is very bad, aboud 6 hours. I thing that problem is in key word &quot;KEY&quot;. Help me please. Thanks Martin
Reading the Attribute names of a certain element (2 replies)
microsoft.public.dotnet.xml
Hey all, Wondering if it's possible to read the Attribute name of an attribute of an element. For example: Book name &quot;Professional XML&quot; Price &quot;44.95&quot; Author &quot;John Doe&quot;/ I don't necessarily know what the attribute name is in this particular case, so I would like to know is there a way to find out the name as I am reading the XML file into memory. I can get the values of the attributes, just not the...
Formatting DataSet XML output (4 replies)
microsoft.public.dotnet.xml
I posed this question last week, with no answers. I'm trying to get the nested XML in a dataset to be contained within an intermediate tag: Customer Orders Order / /Orders /Customer Where Order is a child of Orders, and Orders is a child of Customer. In a normal DataSet nested DataRelation, the Orders tag is not included, so Customer will have multiple Order nodes. I need this tag so my consumer c...
Please help newbie (3 replies)
microsoft.public.dotnet.xml
Hi everybody! This probably is the simplest question posted here but I have already spend an hour and can not figure out why it does not do the thing. I mean, why computers NodeList does not contain any nodes ? If I remove xmlns &quot;http://tempuri.org/network.xsd&quot; string it works but how to make it working with reference to this VS.Net automatically generated XSD schema ? TIA for any help. Tom Jastrz...
NEWBIE problem with xmlns attribute and XSLT (2 replies)
microsoft.public.dotnet.xml
I am attempting to use the GetXML feature of ADO.Net. I am getting an &quot;xmlns&quot; tag at the top of the XML that is generated by GetXML. MySet xmlns &quot;http://tempuri.org/MySet.xsd&quot; I plan to use the resulting XML with an XSL Transform using the asp:xml control in a WebForm. The asp:xml control fails to transform the XML because of the &quot;xmlns&quot; tag. I want the tag as shown below. MySet Is there any way t...
Replacing DCOM (2 replies)
microsoft.public.dotnet.xml
Hello, We have a scenario where a server(Normal EXE) creates instances of the client (ActiveX EXE) on various systems using the IP address.Some processing takes place on the client system and data is sent back to the server. This is currently being done using DCOM. Is there any option of making this as a WebService using .Net Regards Nirmal My reply to address is purposely mangled to thwart auto r...
using xmlschema to define the row/table format for a child table... (2 replies)
microsoft.public.dotnet.xml
bear with me... I'm new to xmlschema and using dataset's using .NET I've got a recordset in xml that I need to create a &quot;child&quot; recordset that uses a different table format. The table format that I need is in an xmlschema... so I guess I'm looking to: 1) Load the schema (located in an xml file (among about 10 other schemas)) 2) Create one or more rows as a child (of a parent row) that adheres to t...
How do I convert a stream to XML? (2 replies)
microsoft.public.dotnet.xml
Hi all, I'm looking for a way of taking a Stream and converting it to an XmlDocument. How do I go about it? Thanx for any help, Leon
XmlNodeChangedEventHandler (2 replies)
microsoft.public.dotnet.xml
In the code below I raise an exception when a non integer value is set as the new orderID on an attribute. It correctly determines this and raises and exception. But the Dom doc is supposed to go back to it's prior state, but it doesn't and the attrib value still gets updated (and the error also gets displayed!). So what am i missing? .... public void Run(String args) { // Create and load the XML ...
Problem loading XSD into DataSet (seems to be a valid XSD) (2 replies)
microsoft.public.dotnet.xml
I have used XML Spy to convert DTD to XSD And tried to load result into a DataSet using ReadXmlSchema but I am running into exception: &quot;The same table (PropertyLocation) cannot be the child table in two nested relations.&quot; I have attached both files. Any advice ?
Formatting DataSet XML (3 replies)
microsoft.public.dotnet.xml
I have a number of situations where I want to return nested XML data in a DataSet. Because of my particular data consumer, I want my nested data to be placed within a collection tag, like this: Customers CustomerID 12345 /CustomerID Orders Order OrderNumber 1 /OrderNumber /Order Order OrderNumber 2 /OrderNumber /Order /Orders /Customers As opposed to the default formatting, which would not include...
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