all groups > dotnet xml > november 2004 > threads for november 1 - 7, 2004
Filter by week: 1 2 3 4 5
How to do with xml file -> schema file (fuction i .NET)
Posted by Szaki at 11/5/2004 11:07:50 AM
I use a BulkLoad to import file.xml to my base MS Server 2000.
To import this xml file I need schema file. Mayby you know how to do this
file mechanicy f.g. mayby somebody have some script in .net who generate
this schema.
for any help Thanks
======== My xml file =============================... more >>
Why is XMLSchema namespace so different than my custom namespace?
Posted by qdm0308 NO[at]SPAM yahoo.com at 11/4/2004 5:29:48 PM
Below is a snippet that I'm sure is quite familiar to most ...
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
Here, I've given the XMLSchema namespace the prefix 'xsd', and with
that, I can reference datatypes within the XMLSchema namespace ...
i.e., xsd:string.
That's great, bu... more >>
Reading XML files on WebServer
Posted by Gordon at 11/4/2004 4:57:01 PM
Hi,
I am wanting to read an XML file sitting on a server and
am wondering if I will run into problems with firewalls
and/or proxy servers using the following simple bit of
code:
XmlTextReader reader = new XmlTextReader
("http://www.myserver.com/myxmlfile.xml");
It works fine with my in... more >>
xsd.exe problem
Posted by tenfingers at 11/4/2004 4:50:01 PM
I get the following error when I run xsd.exe on my xsd file: "It is an error
if maxExclusive is among the members of {facets} of {base typ
e definition} and {value} is greater than or equal to the {value} of the
parent
maxExclusive."
Looking at the line indicated in the error message, I fi... more >>
Unable to call webservice using HTTP GET...
Posted by MTB at 11/4/2004 4:43:02 PM
I created a webservice, but I can't call the webservice using HTTP GET. SOAP
and POST work fine, but not GET. Am I missing something in the configuration?... more >>
Generate XmlDocument from XmlSchema
Posted by dragonwagon NO[at]SPAM hotmail.com at 11/4/2004 3:52:41 PM
Can anyone point me to some examples of generating a complete
XmlDocument given an XmlSchema object?... more >>
XmlSerializer.Deserialize complain when root declare the namespace
Posted by Sebastien Tardif at 11/4/2004 3:45:03 PM
Subject: XmlSerializer.Deserialize complain when root declare the namespace
If I do XmlSerializer.Deserialize( myString ) and myString is:
String myString = "<?xml version=\"1.0\"
encoding=\"utf-16\"?><DocumentResponse ><documentSize
xmlns=\"urn:webservices.docharbor.com\">23</documentSize... more >>
Converting xml to another format of xml using ASP.NET
Posted by sp at 11/4/2004 12:05:03 PM
Hello Everybody,
I need to convert xml that we get from sqlserver For xml auto to my own
xml format using asp.net classes.
Any ideas and suggestions would be appreciated.
Thanks in Advance
sp... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Async Web Service Abort Question
Posted by Drew Stoddard at 11/4/2004 11:19:01 AM
We are working in C#/Winforms and are using asynchronous client-side web
service calls (the Begin... and End... methods supplied by the web reference
creation). Many of these calls are contained in Windows forms that the user
can close before the web service call has completed. This seems to... more >>
Querying attributes
Posted by Richard L Rosenheim at 11/4/2004 10:52:39 AM
Is it possible to have a XPath query that returns all elements where any of
its attributes begins with the specified string?
TIA,
Richard Rosenheim
... more >>
Insert/Update tables in a database with relational data from an XML file
Posted by Pesko S at 11/4/2004 7:53:40 AM
Hi,
Could anybody just point me in a direction where I can find information
on how the heck I can update a database with relational data from an XML
file.
I use stored procedures to insert the data. And I am NOT storing the xml
in the database. I want to map the xml elements to the datab... more >>
Recusive elements
Posted by Randy Maloney at 11/3/2004 10:58:45 PM
Hi all,
Struggling at the moment so I'm wondering if any one can help me out.
I'm creating a *.xsd schema where and would like define certain elements as
recursive
for example...
<class>
<info />
<class>
<info />
<class>
<info />
...a... more >>
Need Help With Detecting Element Block "Exit"
Posted by hoochiegooch NO[at]SPAM hotmail.com at 11/3/2004 5:20:30 PM
Hi, all.
This should be pretty easy:
When parsing my XmlDocument object with a validating
reader, what's the proper way to detect when it
"exits" an element's block? It's the first time
I've needed to toggle a bool when entering and
exiting one; I tried to trap the exit with
'case "</bloc... more >>
programatically remove namespace from XmlDocument
Posted by Gabe Moothart at 11/3/2004 1:26:20 PM
Hi,
I'm writing a program that loads an xml document, modifies it, validates
it with an xsd schema, then send it on to another application for
processing. I have no control over this aplication.
The problem is this: for some reason, this application rejects any xml
documents with a namespa... more >>
XQuery DLL
Posted by Clamps at 11/3/2004 8:40:14 AM
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C4C180.BD488E40
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
So I've been reading about XQuery, but cannot find a dll or namespace
download to use the technology in vs.net 2002 or ... more >>
DataGrid support for XML with different node types
Posted by yurps NO[at]SPAM yahoo.co.uk at 11/3/2004 5:46:11 AM
Hello,
I have xml like this....
<test>
<question>sdfsa</question>
<section><question>43ga</question>
<question>asdf</question>
</test>
I make and xsd file with
<xs:all>
<xs:element....
<xs:element....
</xs:all>
I then bind the XML to a DataGrid...
DataGrid.DataSource = DataSe... more >>
Special characters in xml from dataset
Posted by I. Demol at 11/3/2004 4:42:05 AM
Hi,
When I write out my typed dataset to an xml file on disk, I can not open it
in my browser, because my data contains characters like "ä","ë" and "é".
Is there a way to solve this?
Thanks,
I. Demol... more >>
XML on the fly
Posted by greg_gm NO[at]SPAM poczta.fm at 11/3/2004 12:34:18 AM
Hi,
I've a problem.
I have to read a xml file from url (ex.
http://www.remote_server.blelele/search?qt=request&nm=10&st=0®=14)
and convert it. I think(probably;)) that this xml is generate
on-the-fly. Of course, I can read this xml, if I write this address in
browser.
It works good if I... more >>
WebService output > Tab-separated text?
Posted by Martijn van Exel at 11/2/2004 11:57:20 PM
Hi all,
I'm receiving output from a webservice formatted as follows:
<?xml version="1.0" encoding="utf-8"?>
<DataSet xmlns="http://tempuri.org/adrloc/levering">
<xs:schema id="Bridgis_DataSet" xmlns=""
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-
microsoft-com... more >>
Strongly typed dataset for hierarchical data
Posted by Oleg Ogurok at 11/2/2004 3:39:06 PM
Hi all,
I'm trying to create a simple XML structure for storing tree-stryle data for
a forum-like software, e.g. each post will have a body field, the ID of the
user who posted the message, and zero or more subposts(replies). Thus it
would allow for unlimited depth of subposts.
I also ne... more >>
How do you use a XSD to create a XML document?
Posted by Paw Pedersen at 11/2/2004 10:47:42 AM
Is it possible to load a XSD and loop throw the nodes and attributes that
you whant filled out, and then generate a XML instance with the trees and
data that you have filled data in?
And how do you do that?
Regards Paw
... more >>
Transformation objects in .net add carriage returns to empty elements
Posted by Kevin Earley at 11/2/2004 9:06:30 AM
Is there any way around this short of telling the xmlwriter not to indent?
I have a process that send an xml doc to a cust who changes some data and
returns it. It gets rejected on the resubmit because of the problem below.
I have an xslt trans. I am transforming it with the .net transform... more >>
XPath returning multiple nodes.
Posted by Bob at 11/2/2004 3:39:08 AM
Is it possible to create an XPath query that will return both the First and
Last names using the following as an example?
<Data>
<Emp>
<FirstName>Karen</FirstName>
<LastName>Wade</LastName>
<Dept>Finance</Dept>
</Emp>
<Emp>
<FirstName>Carol</FirstName>
<Last... more >>
Store Image inside XML
Posted by Raghavendra RAV at 11/2/2004 2:30:40 AM
Hi,
I need to store an image from a Graphics object(.NET) inside a xml
data island. Anyone might have came accross or have an idea how to do
this. Please share.
Thanks & Regards,
Raghu, CSS India
+91 98402 56561
*** Sent via Developersdex http://www.developersdex.com ***
Don't just p... more >>
XmlDocument.Load modifies files ?
Posted by teddy311 NO[at]SPAM free.fr at 11/2/2004 1:07:32 AM
Hello group,
Why, when I execute the c# code on the xhtml validate file, the program insert a
couple of hooks at the end of this line ?
....DTD/xhtml1-transitional.dtd"[]>
_The c# code :_
using System;
using System.Xml;
public class Sample
{
public static void Main()
{
... more >>
Convert html to xml
Posted by Igor Dombrovan at 11/1/2004 8:24:27 PM
Hi group
I'd like to parse an html page to xml. Just to extract a couple of tables
and links to follow. Google doesn't help much today. Any help/links ?
Igor
... more >>
Using XSD stored in assembly resource with includes
Posted by David Muoio at 11/1/2004 3:31:28 PM
I am trying to validate an XML file against an XSD that is stored in the
assembly as an embedded resource. I can get it to work as long as the XSD
does not include other XSDs. After a fair amount of searching, I have found
3 possible solutions but none have worked for me. They are:
1. Us... more >>
how to apply xslt to XmlDocument
Posted by tnag2000 NO[at]SPAM hotmail.com at 11/1/2004 2:25:48 PM
Can someone answer this probably obvious question.
I have an xmldocument that i want to apply an xslt file to.
All the examples i find assume u are applying the xslt to an xml file
you've read in.
How can i apply the xslt to an XmlDocument i've just built?
This is wrecking my head, so any... more >>
Consume a dataset in unmanaged C++ client (MFC)
Posted by geilen at 11/1/2004 6:01:10 AM
I'm trying to use a dataset returned from a web service in an unmanaged C++
(MFC) client. The dataset is returned as a BSTR, and I'm having trouble
reading the BSTR into an XML document for processing. The data looks correct
in the BSTR. Can anyone help point me in the right direction on th... more >>
|