all groups > dotnet xml > september 2004 > threads for september 8 - 14, 2004
Filter by week: 1 2 3 4 5
Problems with Framework 1.1 SP1?
Posted by Ben Noyce at 9/13/2004 5:23:01 PM
Greetings,
Has anyone else experienced issues with .NET Framework 1.1 SP1 and Xsl
transformation services? We are experiencing issues with such fundamental
items as 'last()' throwing an 'index was outside the bounds of the array'
error whenever we use it in conjunction with for-each and ke... more >>
WARNING: dotNet 1.1 SP1 breaks XmlTextReader with streams
Posted by Stephen Gutknecht (RoundSparrow) at 9/13/2004 9:54:20 AM
XmlTextReader against a stream no longer works. This breaks the open source
jabber-net and other software. Several people have confirmed that what
works on dotNet 1.1 fails on dotNet 1.1 SP1.
So far, no work around nor hotfix has been found. If you use XML against a
stream, make sure you ... more >>
Problem with inheriting from XmlElement class
Posted by Compic at 9/12/2004 4:34:07 PM
Hi!
I have this class:
public class StoredItemElement : XmlElement
{
protected internal StoredItemElement(string prefix, string localName, string
namespaceUri, XmlDocument doc) : base(prefix, localName, namespaceUri, doc)
{ }
....
}
which inherits from XmlElement.
But when I tr... more >>
<xsl:if> construct
Posted by Luke Vogel at 9/12/2004 3:41:15 PM
Hi all,
Probably a really basic question, but I cant find an answer ...
I have an xml file of books something like:
<product>
<isbn>0-735-61374-5</isbn>
<title>Microsoft Visual Basic Step By Step</title>
<author>Michael Halvorsen</author>
<subject>Programming</subject>
<blurb>Here's a fa... more >>
xlink
Posted by a at 9/11/2004 11:45:02 PM
I'd like to associate (link elements in) a linkbase (xml) file with (elements
in) an instance document (xml). I've never seen an example of how to do
this. Anyone know how to do this in .NET?
Thanks... more >>
What's wrong with this code? Serialization
Posted by Don at 9/10/2004 5:12:20 PM
Dim strSQL As String = "SELECT lastname, firstname, title, hiredate " & _
"FROM Employees "
If Len(lastname) > 0 Then
strSQL += "WHERE lastname = '" & lastname & "' "
End If
strSQL += "FOR XML AUTO"
Dim objConn As SqlConnection = New SqlConnection("Data
Source=PASWEB22D;Initial Ca... more >>
differences between MSXML and .Net XSL transformation
Posted by Daniel at 9/10/2004 4:30:38 PM
Are the differences between MSXML and .Net XSL transformation documented
online anywhere? Many of my XSL's work in MSXML but transform differently in
..Net XSL transformation.
... more >>
XSL - to insert a node
Posted by Beniamin Tecar at 9/10/2004 12:15:57 PM
Hi,
I have an xml :
<DataRecords>
<Point Alias='A' Value='1' Status='0' />
<Point Alias='B' Value='2' Status='0' />
</DataRecords>
I have needed by an XSL to insert a node between <DataRecords> and <Point>
Example :
<DataRecords>
<Record>
<Point Alias='A' Value='1... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
getting intellisense for custom XML
Posted by Don at 9/10/2004 9:54:06 AM
Hi:
I have created an xsd from my xml document. I pop this xsd in the
following directory: C:\program files\Microsoft Visual Studio .NET
2003\Common7\Packages\schemas\xml. That give me intellisense when I specify
the name space. But leaving hte namespace in messes up my transforms.
Is ... more >>
XmlNodeList.Count hangs forever...
Posted by frandalc NO[at]SPAM swbell.net at 9/10/2004 9:41:57 AM
Hi.
I am returning a "distinct" list of nodes from an xmldocument using
selectnodes. I get the list fine, and I can select individual nodes,
but when I try to access the count of the list my computer just hangs.
Also, if I try to iterate the list using foreach the first time works,
and then t... more >>
selecting XML from SQL2000 and using it in ASP.NET
Posted by Don at 9/9/2004 5:50:38 PM
I am running this in SQL Server 2000:
SELECT lastname, firstname, title, hiredate
FROM employees
FOR XML AUTO
I get back these results in the Query Analyzer:
<employees lastname="Jones" firstname="James" title="Developer"
hiredate="2004-05-10T00:00:00"/><employees lastname="Jordan" firstname... more >>
Error deserializing previously serialized object
Posted by khatovar NO[at]SPAM hotmail.com at 9/9/2004 3:20:03 PM
I've used XMLSerializer before to store user settings with great
success, but this is the first time I've tried to serialize an Array.
It serializes fine, but when I try to deserialize it, I get the
following error:
There is an error in XML document (0, 0). --->
System.Xml.XmlException: The d... more >>
New Google group - Visual Studio Express
Posted by Bootstrap Bill at 9/9/2004 12:54:45 PM
A new Google group has been formed for the purpose of discussing the new
Visual Studio Express products.
http://groups-beta.google.com/group/Visual-Studio-Express
The products are currently in beta testing and include Visual Basic 2005
Express, Visual C# 2005 Express, Visual C++ 2005 Expre... more >>
Xml Schema: won't validate
Posted by George W. at 9/9/2004 10:03:12 AM
Can someone help me with this? I keep double checking my schema layout
and it looks like my implementation is correct... yet it must not be.
I have the following schema which is invalid (Says: C:\Work\WIMAR
XML\WIMARKeyedText.xsd(7): Type 'ImageHeaderType' is not declared. An
error occurred... more >>
XML and Large FIle (Append)
Posted by amyl NO[at]SPAM paxemail.com at 9/8/2004 7:40:34 PM
It is my understanding that in order to append XML to a file you would
have to read the file in as an XML document and insert the node.
However, what if the file is close to 1GB in size? Would you require
> 1GB of RAM to deal with reading this file in efficiently?
Also, is XML an optimal sol... more >>
XmlSchemaElement.SchemaType returns null - bug?
Posted by eXavier at 9/8/2004 4:43:17 PM
Hi all,
I wrote some generator of classes from XSD files but encountred =
unexpected (for me) values in parsed DOM.
First I load XSD with XmlSchema.Read() method, then iterate through =
XmlSchemaElements. I have a function
IsComplex() which return bool value if it has simple content (e.g. typ... more >>
xml serialization of a class and adding qualified namespace
Posted by geakewil NO[at]SPAM hotmail.com at 9/8/2004 4:13:39 PM
I am successfully serializing to XML from a class like this:
private static void CreateXML()
{
testClass c = new testClass();
c.stringElement = "data1";
c.stringElement2 = "data2";
subClassDataType s = new subClassDataType();
s.subThingElement1 = "data3";
s.subThingElement2 = "data4";
... more >>
Update/Delete/Insert data from XML
Posted by Rich Wallace at 9/8/2004 1:52:29 PM
Hi all,
I've been though many posts in this group and have yet to find one that
helps me understand how to accomplish my goal.
I have an XML document that stores user specific values that I need to
maintain based on options they select in a web app. Here's the XML:
<?xml version="1.0" en... more >>
DataSet and example
Posted by venkat_chellam NO[at]SPAM yahoo.com at 9/8/2004 1:49:56 PM
I am new to XML using .net. i have a simple question
I have a datatable with oracle. I need to get the data from the table
and return the data in form of XML but XML has some schema. I have
..XSD file.
Any idea of how to do this, i am don't know anything about it. Can
someone explian me and i... more >>
|