I have an XML document in a file (e:\bobo.xml) saved using unicode
encoding with declaration:
<?xml version="1.0" encoding="UTF-16"?>
I can load that file into an XmlTextReader and read it just fine:
XmlTextReader reader = new XmlTextReader( @"e:\bobo.xml" );
reader.Read();
But this fails...
more >>
XML Instance from XML Schema
Posted by EAI at 9/28/2005 4:01:07 PM
How do I create an instance of XML from XML Schema (xsd to be specific) and
instantiate its elements in C#?
...
more >>
Connection error on Document Load
Posted by Harry Keck at 9/28/2005 1:53:08 PM
I am calling XmlDocument.Load with a url string, but get the message "The
underlying connection was closed: Unable to connect to the remote server."
When I put the exact same URL in IE, the xml file comes up just fine. Also,
we only get this error when running from some machines, not all. D...
more >>
XmlTextReader URL Limitation???
Posted by Q at 9/28/2005 1:25:45 PM
I am feeding XmlTextReader a URL that returns the XML that then gets parsed.
The URL forms a query that affects how much data is returned in XML but not
the format of the data.
The problem is that when the URL string exceeds about 163 characters
(strange number) XmlTextReader seems to choke on...
more >>
XmlWritter to String
Posted by John at 9/28/2005 9:27:43 AM
I can't find any solution to store a new created XML with XmlWriter to
String.
It requires a Stream
Thanks
John
...
more >>
Rookie question : Writing edited form data (gridview) to XML
Posted by theKirk at 9/27/2005 3:08:04 PM
using Visual Studio 2005
C# ASP.NET
I know there has to be a simple way to do this....I want to use C# in a code
behind for aspx.
Populate a GridView from an xml file
Add Fields to the GridView to allow entry of quantity and Y/N switch for
each row
Write contents of GridView to n...
more >>
Writing formatted XML
Posted by Dan at 9/27/2005 6:31:03 AM
How would I write an XmlDocument to a file so that each node is properly
indented and followed by a carriage return?
Thanks...Dan...
more >>
Zero-length MXL files
Posted by W. Pickett at 9/27/2005 12:00:00 AM
Hi,
I'm attempting to understand an application I may one day "inherit" in
ASP.NET and Flash. I've been searching but can't find out the answer to
this, so if you have a pointer or want to explain I'd really appreciate
it, thanks.
The site has hundreds of empty xml files in directories in d...
more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XmlDocument
Posted by Andrew Robinson at 9/26/2005 2:19:30 PM
I am attempting to create an XmlDocument object but keep getting "Object
reference not set to an instance of an object" exceptions when I try to add
elements or attributes.
I don't have an existing document to load but want to create one from
scratch. How can I do this?
Just a simple exa...
more >>
Avoiding IE warning msgs on doc.Load(sPath) intranet
Posted by kermit at 9/26/2005 8:08:03 AM
I have several ASP.NET pages that run on an intranet with an IIS server.
Several of them use XML.DOM to open an XML file. doc.Load(sPath).
When the is command to open the file is up doc.Load(sPath) IE6 post a
warning message "This page is accessing information that is not under its
control....
more >>
Using XML & ASP.NET (or what do I *need* to know?)
Posted by Karl at 9/26/2005 5:55:29 AM
I'm trying to learn an acceptable way to marshal complex data between an
ASP.NET web service and an ASP.NET web client. Initially, it will be
enough for the client to display the data from the service, but
eventually, I'll have to write a client that will allow for modification
of the da...
more >>
Looking for XML Schema Validator
Posted by BillyLiu007 at 9/26/2005 1:20:02 AM
Hi guys:
ANyone know any free powerful xml schema validator ?
--
Can You?You Can. ...
more >>
SAX (Simple API for XML) and SOAP
Posted by -00Eric Clapton at 9/26/2005 12:00:00 AM
I want to know more about SAX and SOAP. Can anyone please tell me any
website? Thanks.
...
more >>
xpath fails : "Parameter" have special meaning ?
Posted by John A Grandy at 9/23/2005 10:50:16 PM
Is there something special in XML about the name "Parameter" ... I am not
able to XPATH query for nodes named "Parameter"
<Root>
<Category CategoryID="1">
<Elements>
<Element ElementID="1"></Element>
<Element ElementID="2"></Element>
<Element ElementID="3"></Element...
more >>
XML Deserialization
Posted by Sujith Jagini at 9/22/2005 9:45:11 AM
Hi
I am facing this strange problem, we are receiving xml documents from
Siebel which I am trying to deserialize into class objects for further
processing. The encoding of the document is utf-16 and siebel will post it to
an asp.net page, where I retrieve it as binary and convert it into u...
more >>
General Question: Attribute vs. Element
Posted by pagates at 9/22/2005 7:24:05 AM
Hi All,
This is a pretty simple question, but with possibly a complex answer.
I was wondering if anybody had any opinions or links for "rules" as to when
to use elements and when to use attributes within XML.
For a quick example, think of a file system represented by XML.
Method 1: A...
more >>
getting error at time of XmlSerialization
Posted by IMS.Rushikesh NO[at]SPAM gmail.com at 9/22/2005 3:29:44 AM
Hi Friends,
My work is stuck up because of this unresolvable and unbelievable
Error.
I'm trying to Serialize my Class object using XmlSerialization. And at
below line, I m getting "error File or assembly name xxxxxxx.dll, or
one of its dependencies, was not found.."
///I got error at thi...
more >>
Validation of anyURI
Posted by Sab at 9/22/2005 1:43:03 AM
Hi,
I'm writing a rendering layer for asp.net apps that renders xdime markup. I
need all URLs used in the app to be absolute or relative. Whenever I use an
absolute URL, something like '/myPage/LogOut.aspx' as an attribute of type
anyURI the document validation fails with the error 'attribu...
more >>
Typed Dataset as description of XML database?
Posted by Soeren D. at 9/22/2005 12:50:11 AM
I have read how one can define tables, indices, relations etc. in .Net code
in a way that allows you to run a off-line XML based ADO.NET, which is
excactly what I need.
I have also read about Typed Dataset and hoiw this definition is stored in
an XSD file.
I was wondering if these two te...
more >>