Home All Groups Group Topic Archive Search About

.NET XML

microsoft.public.dotnet.xml
Score Xpath syntax to get to element
sippyuconn - 17 Nov 2007 4:33 PM - 3 messages
Hi I am trying to figure out the xpath syntax to get to all the element of name <property name="Text"> ie <property name="Text">Patient Name</property> Any help is appreciated Thanks <XtraSerializer version="1.0" application="LayoutControl"> ...
Score XSLT for viewing XML as Tree
Chuck P - 16 Nov 2007 5:37 PM - 4 messages
I have some XML I want to display in  a section of a web page. I want the XML displayed as a tree. The way you see XML if you load the file in the browser.  It shows the tree ...
Score Trying to evaluate xpath myself sort-of
David Thielen - 16 Nov 2007 4:16 AM - 5 messages
Hi; In our program we will get an XPath statement such as: ${data}/SalesProject[customer/CUSTCAT=${series}/customer/CUSTCAT] Where ${data} and ${series} both stand for a XPathNavigator so each is basically a specific node in a list of nodes that another XPath statement is ...
Score Can't access a System object in xaml
BBM - 15 Nov 2007 3:58 PM - 7 messages
Hi, I have this xaml code that I'm trying to use in a Window... <ListBox xmlns:sys="clr-namespace:System;assembly=mscorlib" Grid.Column="2" Grid.RowSpan="2">       <Button>Click for a surprise</Button> ...
Score Streaming web service response as byte array..dtd error.
Dave - 15 Nov 2007 2:31 PM - 3 messages
Hi, the following calls a webservice and returns the XML as a byte array which I convert to a stream first.  The 'xml' variable has XML, however, when I try to load the XML into the XmlDocument, it can't find the .dtd file. See ...
Score Getting an error in my xml schema editor code.
Priya - 14 Nov 2007 5:28 AM - 1 message
Hi, I have an xsd file like this. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="generic" elementFormDefault="qualified" targetNamespace="generic">    <xsd:element name="bookstore" type="bookstoreType"/>    <xsd:complexType name="bookstoreType"> ...
Score XML Validation against XSD
Filipe Marcelino - 13 Nov 2007 6:05 PM - 4 messages
Hi, I already broke my head searching for a solution to this error with no luck. That's why I'm requesting you guys help. I have one xml that I want to validate against a xsd: XSD: <?xml version="1.0" encoding="iso-8859-1" ?> ...
Score dataset from .xsd problem
DaveINOPS - 13 Nov 2007 4:00 PM - 1 message
Trying to create a dataset out of an XML schema (.xsd), I get the following error message: DataSet doesn't support 'union' or 'list' as simpleType Using .NET2/VS2005.  Is there a workaround?  Is this fixed in .NET3/ ...
Score er
Siri - 13 Nov 2007 2:02 PM - 4 messages
Hi, I want to create a .NET webservice which creates a xml file. I have the .xsd schema file and a document mapping xpath's to my db fields. I suppose I do something like first create the xml file from the schema ...
Score WSE 2.0 encoding error
moital - 13 Nov 2007 1:08 PM - 3 messages
I have a client application ( web service ) write in vs2005 consuming an external web service with WSE 2.0 (x509). The response is in hebrew ( windows-1255 ). In the Trace files I see the hebrew fine, but the response is gibrish. ...
Score Newbie:Want to validate an xml using xsd and produce a new xml fil
Priya - 13 Nov 2007 11:40 AM - 1 message
Hi, I want to validate my xml file using xml schema and produce new xml file which confirms to that schema. I tried this using serializer() method. But this doesn't give me the complete solution. If i delete some elements in my ...
Score Strongly Typing XML String/Document Argument
Schemed - 13 Nov 2007 2:18 AM - 3 messages
Hello All, I have the following abstract function: public abstract BookList LoadBooks(string ListBookXml); public abstract BookList LoadBooks(XmlDocument ListBooks); Is there any way to type the argument of each function so that it corresponds to the required schema without resorting to an ...
Score Newbie Question
Samuel - 12 Nov 2007 2:28 PM - 3 messages
Hi I am doing a very simple test of using web services, I added a Web Reference to a site that provides the latest exchange rates. I got a string that contains XML Document that contains the required info I would think that there is a standard method to parse the content of the ...
Score How to create an xml schema editor
Priya - 12 Nov 2007 5:03 AM - 2 messages
Hi, Could anyone give me any idea as to how to create an xml schema editor in c#. Thanks. ...
Score Supressing default namespace attributes?
David Veeneman - 11 Nov 2007 3:28 PM - 3 messages
I am creating an XML document, using XmlDocument and its related classes. The root element declares a default namespace and an XSI namespace. Here is my problem: The serializer is assigning a default namespace attribute (xmlns="") to all the other elements of the document. This is ...
Score User defined Serialization for LINQ to SQL generated classes
Benjamin Kalytta - 11 Nov 2007 4:19 AM - 1 message
Hello there, is there a way to override predefined Serializer for LINQ to SQL class objects? MSLinqToSQLGenerator generates classes for accessing Database. I want to create a Webservice which should be able to do certain Operation on Database and should serialize certain objects. Serializer will try to serialize ...
Next »