all groups > dotnet xml > december 2003 > threads for december 22 - 28, 2003
Filter by week: 1 2 3 4 5
XPathDocument and retrieving xml string
Posted by Robert Strickland at 12/27/2003 10:53:57 PM
I load an xml stream into a xpathdocument type, compile a xpath expression
and select to specific node. I find the node and wish to return the innerxml
of that node. When I use value of the current node I get back the "values"
of the child nodes but no formatted xml which I need for transformatio... more >>
Validating XML file
Posted by Uwe Kuhne at 12/27/2003 9:27:04 PM
I receive a XML file from a customer and want to use a schema for validating
the XML file. What I don't know how to do is, that I want to continue
processing this XML - file no matter if there is an error or not.
e.g. I have an element <Code> which can contain values 1 to 9.
If something el... more >>
Writing CDATA data to XML
Posted by Yasutaka Ito at 12/27/2003 3:14:47 PM
Hi folks!
I have a DataSet, which I'm writing into XML using the DataSet.WriteXML()
method. Now, I want to write the cell's data/text as CDATA, when it is
written into an XML. For example, I want the XML output as follows:
<root>
<myElement><![CDATA[abc]]></myElement>
</root>
but not... more >>
Web Services SDK - Where ? (WSDK )
Posted by Dan at 12/27/2003 2:05:52 PM
MSDN includes a some interesting pages about using the
Microsoft.com Web Service SDK, Version 1.0 at
http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/mscomwssdkproject/sdk/microsoft.com_web_service_sdk_ver
sion_1.0.asp
Everything except where to get it. I can't find anyth... more >>
Extracting custom data with an XSLT?
Posted by Moogy at 12/27/2003 1:49:36 AM
I'm pulling my hair out here. First, I'm new to XML, so that doesn't
help, but none of this makes any sense to me. All I'm trying to do is
take a simple source XML file and translate it with an XSLT to produce
HTML code.
The problem I have is that no matter what translation it runs through... more >>
XmlRootAttribute ignored when serializing class from array
Posted by Dave at 12/26/2003 7:41:04 AM
Hello,
I'm trying to solve an XML serialization problem that
appears to me to be be a bug with the XmlSerializer.
Let's say I have a class that looks like this:
[XmlRootAttibute(ElementName="x"]
public class y
{
[XmlAttribute("a")] public string a;
[XmlAttribute("b")] public str... more >>
Xml Dom .net bug???
Posted by Daniel Bass at 12/24/2003 11:40:43 AM
given a snippet from an XML message
....
<DATA name="John" value="23" />
<DATA name="Betty" value="71" />
<DATA name="Craig" value="" />
<DATA name="Lisa" value="42" />
....
I load this into the Xml Dom in .Net (VB), and query each node for the
'name' and 'value' attributes.
When I ge... more >>
Can XML describe different hierarchical data?
Posted by Bruce W.1 at 12/23/2003 9:30:00 PM
I want an XML file to describe hierarchical data where each node is
different. Each node will contain different and varied other nodes.
Describing this in an XML file would be easy but I'm having a problem
with this as related to DTD or XSD.
What the XSD really needs to do is describe a node... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XMLREADER or XMLDocument???
Posted by john88m NO[at]SPAM hotmail.com at 12/23/2003 4:46:56 PM
How do I read the attributes of this XML? I have a page with text boxes that
i want to read
these values in. notice there are 2 Parameter tags with the same attributes.
Code would help
<TranslationRecords>
<TranslationRecord TrxID="1">
<ParameterCollection>
<Parameter KeyName="FielD... more >>
Serializing a class
Posted by Jeff Bunting at 12/23/2003 2:41:29 PM
I'm trying to serialize a class I have and have been getting:
An unhandled exception of type 'System.InvalidOperationException' occurred
in system.xml.dll
There was an error reflecting type MyClass.
I noticed in the help for the SerializableAttribute Class the following:
"Indicates that a ... more >>
Trying to understand why simple XML will not validate
Posted by Ron Rohrssen at 12/23/2003 11:31:10 AM
I've been working on learning XML schemas and trying to
make use of the MS classes for validating data against a
schema.
So, I've been trying to work through some simple schemas
and instances. But, the parser inside of Visual Studio
seems to frequently validate against a cached version of... more >>
XML validating and writing at the same time
Posted by Brian Kedersha at 12/23/2003 10:45:17 AM
I am receiving XML data that I would like to validate against my schema and
write at the same time.
Some of the data is optional, if the data in the optional elements is
incorrect, I would like to write blank data to that element, and then
continue validating against my schema.
Any ideas?
... more >>
Trying to validate XML w/ an XSD..
Posted by Jonas Bush at 12/22/2003 12:44:34 PM
I'm trying to validate an XmlDocument with an XSD schema,
and I'm getting the following error:
Could not find schema information for the
element 'month'. An error occurred at , (1, 40).
Here is the code I'm using for validation:
System.Text.UTF8Encoding utf8 = new
System.Text.UTF8Enco... more >>
XmlTextReader fails on reading DOCTYPE?
Posted by keldan at 12/22/2003 7:33:13 AM
I am hoping someone on this list can shed some light on
the below issue for me. I am using XmlTextReader to read
from an XML file. Unfortunately, an exception is thrown
("Index was outside the bounds of the array.") when the
reader reaches the DOCTYPE. If I remove it everything
works fi... more >>
|