all groups > dotnet xml > october 2003 > threads for october 22 - 28, 2003
Filter by week: 1 2 3 4 5
Newbie XSD namespace question
Posted by Darren S at 10/28/2003 10:29:47 PM
Hi all,
I have the following XML file:
<Config>
<MyFoo xmlns=3D"http://MyCompany/Foo">
</MyFoo>
<MyBar xmlns=3D"http://MyCompany/Bar">
</MyBar>
</Config>
For a project specific reason, I need to keep <MyFoo> and <MyBar>
in 2 seperate namespaces.
I run XSD.exe to generate my schema... more >>
MSXML Parser
Posted by basin at 10/28/2003 12:24:40 PM
Does anyone know where I cna find the 2.x version of msxml
parser. We need it for an older app to work and I can't
find it on the website to save my life!
Any help would be great!
Thanks... more >>
xs:dateTime <-> DateTime ?
Posted by Jens Weiermann at 10/28/2003 10:43:08 AM
Hi!
I'm reading data from an XML file using the XmlDocument class. Some
elements are of type xs:dateTime. Is there a way to convert a xs:dateTime
value to a standard DateTime object?
Thanks!
Jens... more >>
Error on Trying to Read XML
Posted by Gerry Viator at 10/28/2003 10:29:45 AM
Hi all,
When I try to read the XML I get the error below and highlights this
(Do While MainReader.Read)?
Error:
A first chance exception of type 'System.Xml.XmlException' occurred in =
system.xml.dll
Additional information: System error.
Please help.
Friend Function CreateXMLfiles()... more >>
XMLDocument from empty DataSet
Posted by TomislaW at 10/28/2003 9:11:31 AM
I have WebService that returns
XmlDocument. I made that XmlDocument from DataSet, but when DataSet is empty
I get error:
System.InvalidOperationException: There was an error generating the XML
document. ---> System.NullReferenceException: Object reference not set to an
instance of an object..... more >>
Creating XML from a DB
Posted by Shawn at 10/27/2003 8:15:17 PM
I have two simple tables in my DB: "person" and "phone". Person has 3
fields: id, fistname and lastname. Phone has two fields: id and phonenumber.
Each person can have many phonenumbers. I wish to create an xml file out of
the two tables. Something like this:
<user>
<id>1</id>
<firstname... more >>
XML Data
Posted by A.M at 10/27/2003 1:08:10 PM
Hi,
I want to read news data from http://rss.com.com/2547-1_3-0-20.xml into a
DataSet. The result DataSet will probably have more than one table for item
nodes and one table for channel.
What would be the easiest/efficient way to do that ? Can VS.NET generate
schema automatically based on X... more >>
Removing the default root attributes when serializing
Posted by James Newton-King at 10/27/2003 2:29:52 AM
In an application I'm making I've got a config object which I would like to
serialize to the XML format in a .config file which would then be loaded the
next time the application starts up using Configuration class. I've got all
the elements and attributes correctly named but the default namespac... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
SAX equivalent in .NET
Posted by Aung at 10/26/2003 5:34:56 AM
Do we have equivalent of "Simple API for XML (SAX)" in .NET environment?
... more >>
Generating XML schemas from an SQL database
Posted by This is just me at 10/25/2003 7:03:10 PM
Hi !
Do anyone know of a tool for generating XML schemas from an SQL database
without using the Visual Studio .net ? The reason is to try to automate
the process when changes occur to the SQL database.
best regards
Terje
... more >>
Incorrect node depth with XmlTextReader
Posted by Agent Smith at 10/25/2003 6:05:49 PM
I'm trying to follow the sample code provided in KB
330597. Incidentally, this is exactly the problem I'm
trying to solve as described in the KB article.
In short, if the input XML has a value in every node
everything works great. But... here's what happens when a
node has no value (<node... more >>
assembly xml representation standard
Posted by Miroslav Bradic at 10/24/2003 1:42:11 PM
Is there a standard way to represent an .net assembly in XML (something like
assembly xml scheme)? What I need is an XML grammar, not serialization
mechanism. Tnx :)
... more >>
setting timeout in XML controls
Posted by Buddy Ackerman at 10/24/2003 10:12:08 AM
Is there a way to set a timeout in either MSXML or in .NET's XML classes?
--Buddy
... more >>
Ordering xml using xsl in c#
Posted by Si at 10/24/2003 2:13:59 AM
Hi,
I have a xml dataset I'd like to order, and save in that
order. I've written an xsl to do the transformation, but
because the xml file has a xsd namespace, it doesn't work.
A cutdown version of the xml file looks like this:
<?xml version="1.0" standalone="yes"?>
<hsPrinters xmlns:... more >>
How do I define nested relationship in an XSD
Posted by Darren S at 10/24/2003 12:21:28 AM
HI all,
I am trying to define a schema for the folder/file hierarchy
just as in a normal directory/file system.
I don't seem to be able to get the right way to define a
nested relationship between a folder and its subfolders.
I have the following XML instance shown
<Drive>
<Folder Name... more >>
problems with inserting html to xslt file.
Posted by jernej goricki at 10/23/2003 6:57:47 PM
Hi,
I have a string/xml value that has to be inserted to a specific
<xsl:tempalte> tag,
I have a namespace registered so that I can insert new XSL elements.
nsmgr = New XmlNamespaceManager(myXslt.NameTable)
nsmgr.AddNamespace("xsl", "http://www.w3.org/1999/XSL/Transform")
This is the str... more >>
How to serialize a component?
Posted by Bernd at 10/23/2003 4:36:11 PM
Hi,
how can I serialize (some public properties of) a class derived from
System.ComponentModel.Component? Creating a new XmlSerializer throws an
exception with the message that property "Site" cannot be serialized because
it is an interface. I tried to override the Site property and gave it th... more >>
Modular schemas
Posted by Doug Eller at 10/23/2003 10:52:51 AM
I'm working with the w3c's "Modular Xhtml schema". The problem I have is
that when I try to add the Schema Driver File to my schema collection, I get
the following error:
"Cannot resolve schemaLocation attribute."
The error occurs on the first <xs:include schemaLocation="xxxxx.xsd" />. The
... more >>
XML Parsing in c#
Posted by Filip Kratochvil at 10/23/2003 7:44:21 AM
Hello all,
I would like to replicate the following VB code in c# but having problems
with the ancestor, could someone please suggest what I need to do here.
I need to get the information - tag name - of the parent as specified in the
second XPath statement
Thanks in advance
Filip
VB Cod... more >>
Deserializing with XmlSerializer and XML namespaces
Posted by Jon the Blind at 10/22/2003 5:00:21 PM
I'm using SQLXML to get XML documents from a SQL Server database and
deserializing the results with an XmlSerialier. It was working perfectly
until I started getting namespace prefixes in some of my elements (due to
using import directives in the mapping schemas).
Here's a relevant XML fragmen... more >>
ValidatingReader
Posted by Ken Walker at 10/22/2003 11:52:32 AM
I have been able to implement a validating reader quite
easily using the .net classes.
The error generated when the xml document does not
validate against the schema are similar to
"There is an error ********* at line number column(x,y).
While this is good for we computer types, I need ... more >>
|