all groups > dotnet xml > june 2006 > threads for june 1 - 7, 2006
Filter by week: 1 2 3 4 5
Returning Recordset from VB6 object to .Net
Posted by Tobester at 6/6/2006 3:35:30 AM
Hi
I am having problems calling a method in a vb6 object that returns a
recordset.
Everything was working fine until I added the interop dlls for the vb6
objects into the GAC. Before this, I simply had references to the com
objects and let .Net handle everything else. I changed this because... more >>
Not receiving errors when validating non-valid document
Posted by Chris Lieb at 6/5/2006 11:44:46 AM
I have an XML Schema file that I know is correct becuase I currently
use it in a VB6 program to validate XML documents. Also, if I load an
XML file into VS2005 that is not valid against this schema, I get XML
errors (blue squigglies) in a few places, which indicates to me that I
should get vali... more >>
Read xml from a password protected site
Posted by David Thielen at 6/4/2006 6:59:02 PM
Hi;
If I need to parse an xml file from a password protected site - like:
XmlReader xmlReader = XmlReader.Create("http://www.cia.gov/AgentList.xml",
readerSettings);
How do I pass in the username/password so it can get the url?
--
thanks - dave
david_at_windward_dot_net
http://www.wi... more >>
VS IDE - problem with XML/Show XSLT output
Posted by Tuna Fly at 6/2/2006 10:45:02 AM
I'm trying to work with XML/XSLT in the Visual Studio IDE (VS 2005) and when
I select the menu option XML/Show XSLT Output I get a tab with the output
showing the text HTML code. I'd like to have it display like it would in a
browser instead. I'm working around it by coding the path to the XSL... more >>
reading handwritten XML using XmlSerializer
Posted by SteveB at 6/2/2006 9:16:03 AM
I'm porting an application from Apache Xerces to .Net and am having a couple
of small problems with deserialization. The XML that I'm reading comes from
a variety of sources, and there are two inconsistencies that Xerces is able
to handle that XmlSerializer seems not to be able to deal with.
... more >>
Validating in-memory XML against in-memory DTD?
Posted by saliej NO[at]SPAM gmail.com at 6/2/2006 3:50:37 AM
Hi
I need to validate an in-memory XML document against an in-memory DTD.
I've tried using XmlValidatingReader and it works but the compiler
complains that the class is obsolete. Here's the code:
string dtd = "<!ELEMENT bookstore (book)*> " +
"<!ELEMENT book (ti... more >>
Use of count() function with XPath
Posted by Mario Vázquez at 6/2/2006 12:00:00 AM
Hi,
I'm tryin in vane to get the number of elements of some type from a XML
document using the count() function.
I'm not in a XSLT document. I'm just trying to get this from a .NET
XmlDocument object.
How can I obtain the number of ROOMs of an offer?
....
<ROOT>
<OFFER ID="219" DURAT... more >>
Easy question?
Posted by Mario Vázquez at 6/1/2006 11:05:23 PM
Hi,
Let's supose that I have the following XML:
<?xml version="1.0" encoding="utf-8" ?>
<root>
<element1 type="1">
<element2>some value</element2>
<element2>some other value</element2>
</element1>
<element1 type="2">
<element2>some value</element2>
<element2>some other value</... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Exceptions XML Serialization
Posted by paulo at 6/1/2006 12:23:39 PM
Hello,
We're developing a Windows Forms application and we are logging every
runtime exception to a file. To do this we serialize the exception in
XML using SoapFormatter.
To look at these exception it would be great to have something like the
"View Detail..." option on the exception dialo... more >>
How to insert a CDATA section using XPathNavigator ?
Posted by ericms at 6/1/2006 9:18:01 AM
Can anybody show me how to insert a CDATA section using XPathNavigator ? I
have tried the follwing with no luck:
XmlDocument docNav = new XmlDocument();
docNav.LoadXml(xmlString);
XPathNavigator nav = docNav.CreateNavigator();
XmlDocument doc = new XmlDocument();
doc.LoadX... more >>
Using XML DTD thru C#
Posted by plmanikandan NO[at]SPAM gmail.com at 6/1/2006 12:08:15 AM
Hi,
I am a new to using xml class in c#.I am having a DTD/XSL(Xml-schema
file) File.Now i need to insert the element values and attributes to
that DTD/XSL and to produce a new xml file.Is it possible to craete an
xml file from DTD/XSL using visual studio .Net 2003 or visual studio
..Net 20... more >>
|