Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > dotnet xml > august 2004 > threads for august 1 - 7, 2004

Filter by week: 1 2 3 4 5

many-to-many XML structure
Posted by oNLINE bUDDY at 8/7/2004 6:10:23 PM
How can you reverse a many-to-many XML structure between 2 tags? Lets say we have a books/author XML file. A book can have many authors. <book1> <Author1> </Author1> </book1> <book2> <Author1> </Author1> <Author2> </Author2> </book1> Many people are the a...more >>


Xml Validation Against Schema Facets
Posted by Matt at 8/6/2004 10:13:43 PM
I know how to use the XmlReader to validate XML against a Schema but how do I take this one step further and get the Facet information for an invalid Xml element? I have my own validation event handler and I get the overall message about the problem but I need to report on what exactly the probl...more >>

How to suppress XML serialzation generateed the comment line?
Posted by dheeraj dhondalkar via .NET 247 at 8/6/2004 6:25:16 PM
(Type your message here) Hi, static string SerializeThingToXmlString(object thing) { StringWriter stringWriter = new StringWriter(); XmlSerializer serializer = new XmlSerializer(thing.GetType()); serializer.Serialize(stringWriter, thing); return stringWriter.ToString(); } This returns a...more >>

Question
Posted by Phil Galey at 8/6/2004 1:51:01 PM
How do you convert SGML to XML? ...more >>

Want to get rid of UTC offset in serialization of DateTime
Posted by BjörnHolmberg at 8/6/2004 8:48:05 AM
Hi everyone! In the following code we get a UTC offset in xml. Since I want my WAP users in UTC+02:00 to see data on a server in some US time zone, a lot of confusion will be created from this behavior. Either I use .NET logic on the server and get server local time or I create xhtml pages dir...more >>

Add Namespace to element tags?
Posted by Wayne Wengert at 8/6/2004 8:40:32 AM
I am exporting an XML file based on a dataset using VB.NET. This works fine but the resulting xml file does not include namespace prefixes, which are required by another tool I am trying to use (Altova Stylevision). (See samples below) Stylevision won't see a file as valid unless it includes the ...more >>

How do I serialize an object to a string instead of a stream?
Posted by kjems NO[at]SPAM msn.com at 8/6/2004 4:21:45 AM
This is the example from MSDN where an object is serialized to a filestream: MySerializableClass myObject = new MySerializableClass(); // Insert code to set properties and fields of the object. XmlSerializer mySerializer = new XmlSerializer(typeof(MySerializableClass)); // To write to a fi...more >>

Get XmlSchemaElement from Instance Element
Posted by josh NO[at]SPAM nautilusnet.com at 8/5/2004 7:00:46 PM
Is there anyway to get the correct XmlSchemaElement from an XSD that corresponds to an element within an Xml Document Instance? I want to automatically generate a UI for an Xml Instance based upon information contained within an XSD. Based on the selected element within the Xml Instance docum...more >>



Lack of millisecond support in UniversalSortableDateTimePattern
Posted by shodson NO[at]SPAM gmail.com at 8/5/2004 4:22:46 PM
Why doesn't this date time pattern support milliseconds? That makes it hard for me to map my date, time, and dateTime XML schema types to System.DateTime values without losing millisecond precision. The DateTime.ToString("u") format specifier chops off the milliseconds of my values :( An...more >>

Validation against schema with SAX Reader?
Posted by Developer at 8/5/2004 8:46:41 AM
Hello, I see that ISAXXMLReader has a putProperty() method, and one of the properties is "schemas". How do you use it? Does this mean the xml is validated as it is parsed by the SAX reader? Thanks for the help. ...more >>

validating XML using XmlValidatingReader - XML ignoring schema
Posted by andyrich_1 NO[at]SPAM hotmail.com at 8/5/2004 7:02:50 AM
I am having some trouble validating XML using the XmlValidatingReader. I have created some xml and used the visual studio to generate the schema. So I am confident that the xml and schema match. The problem I am having is that the validation event fires for each node in the xml. It seems to...more >>

Help associate xml to xsd (schema) file...
Posted by Vagabond Software at 8/4/2004 11:01:07 AM
I have translated a DTD to an XML Schema (XSD) file by hand, and the = Schema View in Visual Studio .NET 2003 seems to diplay everything = properly. However, when I specify the schemalocation in my xml files, VS.NET still = reports that no schema could be located. Here are the relevant (maybe...more >>

Problem using axis 1.1 as client
Posted by Jacky Zhu at 8/4/2004 10:35:03 AM
Hi all, I am having a problem trying to consume a webservice that is developed on ..Net. I can access it without any problem using a .net client, but when I use a java client (based on Axis 1.1), some methods work, some don't. The error message I got is "org.apache.axis.types.URI$MalformedU...more >>

Xml web services step by step tutorial
Posted by Popoxinhxan at 8/4/2004 12:13:02 AM
Hi all, I am a newbie for web service and i would like to develop the web service directory like uddi or strikeiron.com based on the web service technology. COuld any one show me step by step to do so, what i really need to know and how to do so. THank you so much....more >>

Custom XML Parser (without using XmlDocument)
Posted by 9icj4u613jeqrx8 NO[at]SPAM jetable.org at 8/3/2004 4:04:33 PM
Hi, I'm wondering on how to go about writing a simple XML parser, one that doesn't use the XmlDocument class (DOM API) and relies only on (in-built, so to say low-level) file system and string parsing functions. Are there any examples or sample code that illustrates on how to go about buildin...more >>

Complex xPath Query
Posted by DotNetJunkies User at 8/3/2004 2:36:52 PM
I am trying to build a xPath Query to use on SelectNodes function in VB.net The data I want to search is by MemberCity = O'Fallon My xPath Query is xPathQuery = "Matched[@MemberCity='O'Fallon']" The problem is the apostrophe in the city name that is failing. How do I build the xPathQuer...more >>

Experts only: XML databinding, DTD and dates
Posted by GMG at 8/3/2004 9:37:14 AM
By providing a DTD in an XML document which is bound to HTML controls, Internet Explorer will automatically format the display of the date fields. For example 2004-08-03T00:00:00 will be displayed as 08/03/2004. It is a fantastic feature, but how does it determine which format to display it in...more >>

XMLSchemaCollection Validation with xs:choice xs:any elements
Posted by matthew_glen_evans NO[at]SPAM hotmail.com at 8/3/2004 8:51:24 AM
I have implemented the xmlSchemaCollection object to cache commonly used schemas, as follows: =============================================================================== public void SchemaValidate(XmlDocument xmlDoc, string schemaURI, string urnNamespace) { if (!m_SchemaCo...more >>

XML - loading file
Posted by Uday at 8/2/2004 8:22:17 PM
Hello all, I have a XML file of 10 MB, I do not want to load this file in Memory using DOM,I know that using SAX I can read the xml file but I want to modify this XML file. I want add, delete few nodes, elements or modify the value of attribute.... from XML file based on this I need to modi...more >>

Problem with ISAXXMLReader
Posted by Developer at 8/2/2004 7:25:38 PM
CoInitialize(NULL); ISAXXMLReaderPtr pReader = NULL; CHR(pReader.CreateInstance(__uuidof(SAXXMLReader))); A1ContentHandler * pA1ContentHandler = A1ContentHandler::CreateInstance(); CHR(pReader->putContentHandler(pA1ContentHandler)); SaxErrorHandlerBase * pErrHndlr = new SaxErrorHandlerBase(...more >>

Internationalization and msxml
Posted by Developer at 8/2/2004 4:59:07 PM
Hello, I have an xml retrieved by a client running Japanese windows from a server running Japanese windows. I can view this document in IE.6. (The Opera browser, though, reports the error.) However, when I try to parse the xml with a sax reader I'm implementing, I get the message "A name ...more >>

Multiple XSD Level for a single XML with multiple namespaces
Posted by metaphis2k2 NO[at]SPAM hotmail.com at 8/2/2004 12:17:01 PM
Ok, I am not sure if it is possible. But what I'm trying to do is validate an XML file with out having to add namespace in the xml. What I mean is lets say I have 2 XSD they have different namespaces and lvl2 is used in lvl using the import feature lvl1.xsd -> lvl2.xsd the xml I woul...more >>

Attributes on an ArrayItem
Posted by skeezen1 NO[at]SPAM gmail.com at 8/1/2004 6:02:30 PM
I am trying to serialize something in the format: <groups> <group attr1="" attr2="">VALUE</group> <group attr1="" attr2="">VALUE</group> <group attr1="" attr2="">VALUE</group> </groups> I am able to get a format like" <groups> <group attr1="1234" attr2="2" /> </gro...more >>

SelectNodes
Posted by pnp at 8/1/2004 5:58:39 PM
Has anyone got an implementation of SelectNodes that works for CF? OpenNetCF doesn't seem to have one... Thanks, Peter ...more >>

how do i get value from.............
Posted by Supra at 8/1/2004 11:35:43 AM
how do i get value from xml file to checkbox1.checked ( 1 or 0) . i stored value to xml: rw.WriteConfigInfo("UserModes", "InvisibleOnServer", CStr(chkInvisible.CheckState), "PirateChat.xml") get value from xml and store in checkbox1.checked . but i couldn't get value from xml: 'load...more >>


DevelopmentNow Blog