all groups > dotnet xml > august 2007 > threads for august 22 - 28, 2007
Filter by week: 1 2 3 4 5
guidance on writing XML
Posted by Darren Mar-Elia at 8/28/2007 4:00:40 PM
I'm creating some XML documents in my C# .net 2.0 code. To date I've mostly
only read XML. Now I'm writing it and I'm struggling to figure out the best
ways to do it and the best classes to use. Essentially I'm starting with a
XML file that contains the root and start and end elements and I wa... more >>
Microsoft SOA
Posted by Dave T at 8/28/2007 2:16:01 PM
Can anyone point me to something that pretty clearly defines what Microsoft's
vision of Service Oriented Architecture is and how they suggest you implement
it (best pactices maybe)?... more >>
Decoding XML response in VB .NET
Posted by Jonathan Attree at 8/28/2007 7:40:00 AM
The following is the SOAP response from my customer 's intranet based web
service. From my VB app I call:
Response = getOrdersForDateRange(94, #8/28/2007#, #8/29/2007#) and this is
what comes back:
<soapenv:Envelope>
<soapenv:Body
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encod... more >>
Annotated XSD mapping of unary tags
Posted by Adi at 8/27/2007 10:28:19 PM
I am trying to export SQL data using SQLXML4.0 and annotated XSD. The
XSD was provided by our vendor and contains definition for choice and
unary tags. Structure is something like
xsd:complexType -> xsd:choice -> xsd:element type="unary".
Does anybody have experience or insight into performing... more >>
Robust deserializer - Handling errors in XML
Posted by Max at 8/27/2007 3:51:01 PM
I am using XmlSerializer to deserialize XML, and sometimes have to deal with legacy files with slight differences, for example "yes" where "Yes" is expected, i.e.
Expected: <Enabled>yes</Enabled>
Actual: <Enabled>Yes</Enabled>
This causes an "InvalidOperationExceptio... more >>
What is the correct way to do an XSL Transform .Net 2.0
Posted by Larry Viezel at 8/27/2007 3:21:39 PM
We just switched one of our larger applications from using .Net 1.1
to .Net 2.0. The XMLDocument XMLMainDoc is used heavily in the
application. One place we use it is in sending HTML emails. We
transform XMLMainDoc against some XSL and send the results as an
email. The old version of the code to... more >>
Cognos XML-Schema - How to read?
Posted by Chuck Vance at 8/26/2007 10:08:40 PM
Hi ng,
I can't handle this XML-Schema (below)
I want to access the data like "Select Name from DATA".
<?xml version="1.0" encoding="utf-8"?>
<dataset xmlns="http://developer.cognos.com/schemas/xmldata/1/" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<!--
<dataset
xmlns="http:... more >>
XPath and namespaces
Posted by David Thielen at 8/26/2007 2:18:01 PM
Hi;
First off, I think I still do not understand exactly how we are supposed to
handle namespaces when doing xpath queries under .NET so I may have some bad
assumptions here.
As I understand it, we need to set the namespaces on an XmlDocument - the
..NET libraries do not read it from the... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
[VB] XML & DTD -Validation
Posted by Pepi at 8/26/2007 10:34:13 AM
Hi,
I've got a problem.
Consider for a moment that there exists a URI to a DTD in an XML file.
Not very uncommon. Now, what happens if the remote server owner go
belly up and because of this the DTD vanishes? Will all XML docs of the
same type be rendered useless?
If not, how do you tel... more >>
Generate typed DataSet from XML or create typed DataSet from xsd?
Posted by DC at 8/24/2007 8:51:01 AM
Hi,
I can easily create an xsd from an xml file in Visual Studio 2005. But
I want a typed DataSet, so is there an option to create that typed
DataSet from the xsd or the xml file? I need many such typed DataSets
so I don't want to create them from scratch.
On a sidenote: I am loading the XM... more >>
Writing to windows registry using XML....
Posted by kbnumesh NO[at]SPAM gmail.com at 8/23/2007 12:00:00 AM
Dear All,
I have query regarding the registry.
Is it possible to write it to windows registry using the XML?
if yes then what is the API or tag used to write it.
I am just a beginner in XML.
thanks in advance.
Regards,
Umesh
... more >>
XmlResolver Host Headers
Posted by xml at 8/22/2007 2:44:29 PM
(Apologies if this is not the right newsgroup - if so, please point me in
the correct direction.)
Can anybody tell me a way to set the host header value on a DTD request
through an XmlDocument object?
(I'm using the 1.1 Framework, VB.NET under ASP.NET)
I currently have 2 live systems down b... more >>
Generete an XML instance from its XSD
Posted by Shahar Ron at 8/22/2007 7:06:03 AM
Hi
Is there a way to generate in code an empty instance of an XML from it's XSD?
I have a lot of schemas and I want at run time to create an empty instance
for them (I then have to fill one or two fields).
Shahar ... more >>
Serializing descendants of generic collections
Posted by ilitirit at 8/22/2007 6:53:08 AM
Can anyone explain why the following program doesn't work? The
attributes and elements of the MessageList class are not being
generated.
Am I doing something incorrectly? Or if this is a bug in .NET, is
there a known workaround?
using System;
using System.IO;
using System.Collection... more >>
XML schema validation with web services
Posted by wowfed at 8/22/2007 2:10:39 AM
I'm getting following errors in my schema validation .
Error Message: The 'TimeSeries' element is not declared. An error
occurred at , (1, 2).
The 'http://alx.ml.com/mapsws:BoxColor' attribute is not declared. An
error occurred at , (1, 163).
It would be great if some one could tell me wha... more >>
|