all groups > dotnet xml > november 2003 > threads for november 8 - 14, 2003
Filter by week: 1 2 3 4 5
DataSets, Web Services, DiffGrams, Arrays, and Interoperability
Posted by Mark at 11/14/2003 2:40:40 PM
I built the example application outlined in this artical:
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnservice/html/service02112003.asp
There were a number of questions along the same lines
posted to the page's discussion forum but no one replied
with a solution.
... more >>
Getting error when adding Optional element as part of Unique Key.
Posted by Peruris at 11/14/2003 2:29:32 PM
Trying to validating XML against local copy of schema
Posted by Mike:o at 11/14/2003 1:46:03 PM
I need to validate XML documents (orders) against their schema before
processing. The PurchaseOrder schema that we use references 3 other schemas
using the <imports ...> element. Here is the relationship:
- PurchaseOrder.xsd
- Base.xsd
- Item.xsd
- Party.xsd
Thes... more >>
attribute wrapped with "\"?
Posted by Dave at 11/14/2003 12:05:11 PM
I have some code that is building an XmlDataDocument:
XmlElement elem = xdd.CreateElement("parameter");
XmlAttribute attr = xdd.CreateAttribute("name");
attr.Value = parameterName;
elem.Attributes.Append(attr);
elem.InnerText = parameterValue;
xdd.DocumentElement.AppendChild(elem);
When ... more >>
XmlSerializer and inherited objects
Posted by bluetears76 NO[at]SPAM yahoo.com at 11/14/2003 3:08:43 AM
Hi I have a hirachy of classes which are Message(base), then
FileMessage and ChatMessage (extended)
I want to serialize the objects and when i am deserizaling i dont know
if i am getting FileMessage or ChatMessage. So how to get that object
and use it
I have written following code for seriali... more >>
I can't get DateTime to serialize to just date
Posted by Reggie Burnett at 11/13/2003 11:45:54 AM
I have an xml element that has a child element of type date. My class has a
corresponding member of type DateTime. I set the member to just the date
portion of a DateTime. When I serialize, I get a zeros for the time part
like this
2003-11-14T00:00:00.000000-06:00. The server that is recei... more >>
processing instructions in XML
Posted by Reggie Burnett at 11/13/2003 11:09:47 AM
I have some XML that contains an element like this:
<ProcessingStartedOn xsi:nil=\"true\"/>
This element is of type dateTime. It is failing deserialization. How do I
handle this?
Reggie
... more >>
Ado and Xpath vs. Ado.Net and XML
Posted by Alan at 11/13/2003 8:00:28 AM
I am a newbie to Ado.Net.
I am trying to convert my code to ado.net but I could not
find equivalence. Could someone out there shed me a light.
I had data in DB, I created a schema, retrieved data from
Db based on the schema and display data in the same format
as schema.
I did that succe... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XML validation against XSD
Posted by matandrews NO[at]SPAM lineone.net at 11/13/2003 4:51:49 AM
I'm using the XmlValidatingReader to validate a XML document against
its schema. The code for this is working correctly and giving me the
line/position of the invalid XML elements. However, I want to do more
than this.
I need to progmatically remove the invalid elements from the XML
documen... more >>
Read XML response from SOAP with VB.NET
Posted by the_saint_gr NO[at]SPAM hotmail.com at 11/13/2003 3:26:19 AM
I am building a Vb.NET Soap Client and i have a problem reading the
response of the SOAP message.
I need to read the results i have the following code:
Dim ws As New WebReference1.PaymentService()
Dim test As String
test = ws.invoiceAvailability("1", "username",
"pa... more >>
newbie: pretty print of xml to memory string
Posted by Yechezkal Gutfreund at 11/12/2003 7:55:59 PM
I am sure this a newbie-type question.
But I was looking to see if someone had something that walks an xml tree and
creates a nicely tabbed (pretty print) string version of the xml tree
(probably starting from a node, like innerxml). But innerxml sometimes (when
preservewhitespace is off) retu... more >>
changing format of output elements such as Date
Posted by Reggie Burnett at 11/12/2003 3:27:48 PM
I have a schema where I need to output dates in yyyy-MM-dd format. Are
there any attributes I can apply to my property to make this formatting
happen properly?
Reggie
... more >>
Regular Expression in XSLT failing
Posted by walterware NO[at]SPAM aol.com at 11/12/2003 2:31:16 PM
Hello....
An XSLT file that I am using function correctly when called from a
browser but fails when used within .NET Transform function.
The code follows:
<msxsl:script language="JScript" implements-prefix="wg"><![CDATA[
/*-----------------------------------------------
FUNCTION: GetFisca... more >>
Problem in passing DOM element as a XsltArgumentList paramter
Posted by walterware NO[at]SPAM aol.com at 11/12/2003 2:22:56 PM
Hello....
I am have a problem with the third AddParam which is supposed to pass
in a DOM element for use by the XSLT. The code snippet follows:
Dim objXSLT As XslTransform = New XslTransform
Dim objDom as New XMlDocument
objDom .Load(strDomDoc)
objXSLT.Loa... more >>
XMLTextReaders only work on streams??
Posted by Chris Ericoli at 11/12/2003 10:13:03 AM
Hi,
I am finding that quite commonly i need to instantiate an XML reader against
an in memory string, as opposed to a stream obtained from a file or URI.
While the XMLDocument class has a means of contructing against a string
(.LoadXML), i am unaware of any similar method for the xmlreaders, a... more >>
VS.NET and XML structure
Posted by Leszek at 11/12/2003 8:50:36 AM
Hello,
Does anybody know how to edit the structure of XML files using VS.NET?
I have an XML file and just need to add an additional column. The file
already has a hundred of records. The only method I know is to go through
all of them and add the appropriate tags manually (or using a trick wit... more >>
SIGNEDXML
Posted by ppombo NO[at]SPAM vcglock.cl at 11/12/2003 6:19:31 AM
Hi, I have the following problem:
I need to sign a XML Document whith SignedXML in Visual Basic .Net. When i
signed the xml document and use the id Attribute in the next format "Id"
this work, but, when i do the same but i only replace the id attribute for
"ID" this does not work and gives me ... more >>
Odd character returned when using Encoding.UTF8.GetString(MemoryStream)
Posted by Chris Lacey at 11/11/2003 3:16:00 PM
Is anyone aware why the following code (intended to write XML into a
memory-based XmlTextWriter, and return the complete document as a string)
produces badly formed XML due to the resultant string always commencing with
a question mark
string xmlRequestString;
MemoryStream memoryStream = new ... more >>
Appending XML to existing XmlDocument
Posted by Jesper Stocholm at 11/11/2003 2:04:48 PM
I have a database class that maintains data about customers i my system.
The basic XML for this looks like:
<Chunk>
<Vendor>
<Database/>
</Vendor>
</Chunk>
When a user is to be registrered in the system, XML like this is created
in a seperate XML-class (Xml):
<Us... more >>
Apache Axis and Visual Studio .NET Web Reference
Posted by Georges at 11/11/2003 12:28:17 PM
Hi all,
I noticed that adding in Visual Basic .NET a Web
Reference to an Apache Axis web service results in a URI
in the generated code that no longer has a port number. I
tracked down the problem to the WSDL file created by
disco.exe from Axis WSDL URL: even though the Axis WSDL
contai... more >>
using an xml as a embedded resource
Posted by jernej goricki at 11/11/2003 10:34:03 AM
I don't want to include some xml files needed by my code, can I somehow use
them as an embedded resource so that the content of the xml won't be
accessible to people that will use my program.
Thanks.
... more >>
Xml from string in Jscript
Posted by intv at 11/11/2003 8:11:32 AM
Hello,
Can someone please tell me how I can create an XmlDocument from a string
containing an Xml fragment? I'd like to do this in Jscript in a client
(IE) environment. The only examples I can find involve msxml, is this
the only way??
Thanks!
... more >>
XML in VB.Net and MSXML
Posted by Michael Schnell at 11/10/2003 3:52:22 PM
All,
Which version of MSXML does the XML section of the .Net
Framework use or does it use something completely different? I'm
starting to get into an XML contract and they claim to be using MSXML
4.0 as their parser. I'd like to use VB.Net, but want to make sure that
I'm using the ... more >>
Newbie having trouble using XslTransform
Posted by nathan_blakley_nospm NO[at]SPAM hotmail.com at 11/10/2003 3:43:19 PM
Hi,
I'm having trouble obtaining expected results using XslTransform. No
matter how (within reason and including a complete gutting of the
stylesheet element's contents) I modify my xslt file I receive the
results below (see "Actual Output" section). The exception to this is
that by removing ... more >>
HTTPMail / WebDav Question...
Posted by MJB at 11/10/2003 3:14:53 PM
I'm trying to execute a MOVE command via WebDav for my Hotmail account (
trying to move a message into my trash folder ). I'm getting an
authorization exception. I am pretty sure that I'm not getting/setting the
proper cookies. I was hoping someone out there may have an example of how
to do a... more >>
The root element is missing when binding dataset to xml textreader
Posted by Tulio Quinones at 11/10/2003 11:44:13 AM
Hi,
I am attempting to create a xml file to a memory stream the bind it to a
dataset. I can write a physical file with no problem. However I recieve
the following error when trying to bind it to a dataset:
Exception Details: System.Xml.XmlException: The root element is missing.
Here is ... more >>
Parsing Text into XML
Posted by Guinness Mann at 11/10/2003 11:07:00 AM
I'm developing in C# with .NET 1.1 in Visual Studio 2003.
I have a lot of experience with C++ and am becoming proficient in C#. I
have no experience with XML.
I'm looking for direction. Here's my problem:
I have some (well, a lot, really) of text files that have been exported
from Wor... more >>
Do i have a problem? possible multiread from xmlfile
Posted by Flare at 11/9/2003 7:15:02 PM
H
I have a dll lib wich contains a static method to read and return a result
from a xmlfile.
But is possible that this dll could be called at the same time from muliple
threads. Is this a problem when its readonly access to the file?
I mean do i need some kind of lock on the method so onl... more >>
Supply eyebrow razors
Posted by victor shao at 11/8/2003 11:35:12 PM
YINFAN Industries Inc.,is a main manufacturer and seller of beauty care
implements, scissors and some other products in China.Professional
quality our Products are sold worldwide for 12 years at the completely
competitive prices and prestigious. We can supply personal care
kits/manicure sets, na... more >>
How to handle an XML document within an XML document
Posted by Adam at 11/8/2003 10:48:30 AM
C#, .NET 1.0
I use XML serialisation to persist state of object definitions.One of my
objects wraps up a 3rd party object (non .NET) which can only serialise
itself to a file. However, it's needed that the parent wrapper object
includes all state data in one file so I need to include the 3rd p... more >>
|