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 > june 2004 > threads for june 8 - 14, 2004

Filter by week: 1 2 3 4 5

XSLT: Xpath with variables
Posted by Mike Grass at 6/14/2004 11:24:01 PM
Hi, I have an XML file similar to the following: <!-- snippet --> <selector key='USER/id' value='type1'/> <selector key='USER/id' value='type2'/> <selector key='USER/id' value='type3'/> <options> <USER> <NAME>Bob</NAME> <id>type1</id> </USER> <USER> ...more >>


Deserialize / Serialize / Validate
Posted by itinsleyTAKETHISOUT NO[at]SPAM hotmail.com at 6/14/2004 7:34:25 PM
Hi I need help with my approach to validating de-serialized XML received via webservice. Hopefully someone can point me to sources detailing best practice for the following. I agreed a standard data format with my client using an XSD. During development we transferred actual XML files which...more >>

DocBooks
Posted by Ann Marinas at 6/14/2004 6:57:01 PM
Hi, all! I would like to seek your advice/answers about docBooks in Visual Studio.NET. Here are my questions: -Does Microsoft support DocBook? -Can DocBook be included in VS.NET? If not, how could I incorporate DocBooks to my VS.NET editor? Thanks and more power! Ann ...more >>

System.NullReferenceException during XML Deserialization
Posted by David B. Bitton at 6/14/2004 3:40:52 PM
I'm experiencing odd behavior on the part of the XMLSerializer. I'm deserializing an XmlNode. The XmlNode is pass as part of a call to IConfigurationSectionHandler.Create. My XML looks like: <sectionName> <settings> ... ... ... </settings> </sectionName>...more >>

Value of 'first parent with a value'?
Posted by darrel at 6/14/2004 2:27:36 PM
Is there a way in XSLT to write this XSL:Value-of select statement (which I've written in plain english): value of the attribute of the first ascendent to have a value. In otherwords, I have an element, and I want to get the parent attribute that contains an actual value up the chain. Thi...more >>

There MUST be a better way...
Posted by David Sterling at 6/14/2004 2:02:13 PM
After much futzing about with the XML/XSD for the Search.Response, I had to resort to this... PLEASE Tell me there is a better way! private void ExecuteAQuery(string strLookingForWhat) { // create the area service object SearchWebService.QueryService queryService = CreateS...more >>

XmlConvert.ToDateTime question
Posted by Shawn Anderson at 6/14/2004 11:26:40 AM
I have a question and I think I know the answer, but I am looking for confirmation (and maybe a link to some documentation) I have an input string of: "2004-08-01T00:00:00-00:00" When I pass this to XmlConvert.ToDateTime I get a result of "7/31/2004 8:00:00 PM" Can anyone clarify...more >>

Bad XML formatting from XmlTextWriter
Posted by isbat1 NO[at]SPAM yahoo.com at 6/14/2004 10:45:40 AM
Here is a function more or less exactly as I found it from somewhere on the internet. static string BeautifyXML(string sXML) { string result = ""; System.IO.MemoryStream ms = new System.IO.MemoryStream(); System.Xml.XmlTextWriter w = new System.Xml.XmlTextWriter(ms, System.Text.Encodin...more >>



XSLT, coming from ASP model
Posted by Eric Phetteplace at 6/14/2004 9:24:26 AM
Hello, I am moving over from using msxml2.domdocument to system.xml and system.xml.xsl. I'd like to present this to my group today, so your help is appreciated. I want to transform an XML object (built on the fly) with an XSL document (URL to document) and have it return a string object f...more >>

re.Pattern = "\<p>(.[^\[]*)\<\/div>"
Posted by Bill Yin at 6/14/2004 8:57:13 AM
what's mean? ...more >>

An unhandled exception of type 'System.Xml.Xsl.XsltException' occu
Posted by one at 6/13/2004 9:21:01 PM
Hi, can some experts out there tell me why I am getting: An unhandled exception of type 'System.Xml.Xsl.XsltException' occurred in system.xml.dll... (No details in the error dialog box) FileStream fs = new FileStream("test.xml",FileMode.OpenOrCreate); StreamReader sr = new StreamReader(fs); Xm...more >>

audio
Posted by VJ at 6/13/2004 4:17:07 PM
Is there a way to store a WAV or any audio file in XML file. I would like to store the audio file as a value in a column of a table. Thanks VJ ...more >>

XSLT write output to different files
Posted by oliver.wulff NO[at]SPAM zurich.ch at 6/12/2004 2:52:17 PM
Hi I want to transform an xml file to several html pages. Is that possible? There is an extension in Java Xalan which allows that and I'm looking for a similar solution in .NET: http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/Redirect.html Oliver...more >>

XSLT transform gives invalid XML
Posted by Aaron Clauson at 6/12/2004 2:19:54 AM
Hi, I just tried to run a piece of code working with .Net 1.0 after compiling it with 1.1. It failed and I tracked it down to the XSLT transform method outputting invalid XML. The problem only seems to occur if the XML has an html node. When it does so the transform method seems to take it int...more >>

Insert XML into a XmlDocument object
Posted by sonny at 6/11/2004 7:42:01 AM
I'm trying to inset XML into a XmlDocument that already has data in it. Does anyone have and c# examples (vb.net will work) or ideas on how to do this? Thx...sonny...more >>

XmlValidatingReader too sensitive?
Posted by Adam Smith at 6/11/2004 6:55:26 AM
XmlValidatingReader too sensitive? I have the following schemas (simplified) and xml file which validate fine in xmlspy, but blow up in xmlvalidatingreader with: 'The 'Hierarchy' element is not declared. An error occurred'. Any help appreciated. To give a brief explanation of what I'm...more >>

Distinguishing empty elements
Posted by Pavils Jurjans at 6/10/2004 5:34:38 PM
Hello, Here's the sample XML: <sample1></sample1> <sample2/> From many XML books and online documentations, it is said to be just different syntax for the same data. However, when we analyze the node object, there is one slight difference: XmlNode sample1; (sample1.InnerXml == null...more >>

Application Forum like phpBB ?
Posted by NicoAgenci at 6/10/2004 4:17:11 PM
Hello, I search an application forum like phpBB but...for asp.net ?? And the same with xml ?? Thankx ...more >>

XSD validation
Posted by Aayush Puri at 6/10/2004 3:28:54 PM
When I edit a XSD in Visual Studio.NET 2003, I get the schema of the XSD in case the XSD is in the correct format....else an error message is displayed with the problematic line number and location etc. Is there any way to perform such checks through some .NET library in System.Xml namespace. ...more >>

Create XML element with a namespace prefix
Posted by Krishna Tulasi via .NET 247 at 6/10/2004 12:46:08 PM
Hi, I am having trouble with creation of XML programmatically using .NET. Specifically Im trying to create an element which looks like below and insert into an existing xml doc: <Worksheet ss:Name="TKCSheet1"> </Worksheet> The existing xml doc is: <?xml version="1.0"?> <?mso-application...more >>

how to add or remove entity to a xml file
Posted by terry at 6/10/2004 8:34:25 AM
could someone tell me how to add or remove entity to a xml file when i dim xmlentity as new xmlentity it's say it's sube new is private thks...more >>

Using XML Schemas to create a database?
Posted by Intuition84 at 6/10/2004 7:26:01 AM
Is there a way in Visual Studio to use an XML schema to generate a database in SQL Server or Access? My schema looks great and it creates a wonderful DataSet! But do I really need to create my data storage manually?...more >>

repost-.Net XmlValidatingReader should fail on complextypes with whitespace?
Posted by Larry at 6/10/2004 6:13:00 AM
Reposting due to lack of response - I believe the .Net XmlValidatingReader should fail when validating XML that contains a ComplexType element with white space when the ComplexType element has the mixed attribute set to false in the XSD used for validation. XSD fragment: <xs:element name...more >>

Parsing custom tag in XML node ??
Posted by lightman1970 NO[at]SPAM hotmail.com at 6/9/2004 7:10:30 PM
Hi All, I have a piece of HTML stored in a CDATA xml node, and would like a way to provide the content-editor who's enters the text a friendly way to specify a search query, something like: <ROOT> <bodytext><![[CDATA[this is a example of the <b>HTML</b> text.<br> Click <s...more >>

System error when loading xml document
Posted by Simon Jefferies at 6/9/2004 4:06:40 PM
Hello, When I load an XML document using the LoadXml function, I get a "System error" exception raised. What causes this? the XML document is valid. Regards Simon Jefferies Tools Programmer, Headfirst Productions mailto:simonj@headfirst.co.uk www.callofcthulhu.com www.deadlandsgame.co...more >>

Append new data to existing XML for output?
Posted by Rich Wallace at 6/9/2004 1:59:09 PM
I'm sure there's a very weasy way to do this, I've been running hard and fast on several things at once and just may be at the point of overthinking this... I receive an incoming XML document via a string feed within a web service: <Root> <Product> <File>Order</File> <Origin>Ore...more >>

Creating a XML file containing nodes with namespaces
Posted by robin_hoods NO[at]SPAM gmx.net at 6/9/2004 9:33:27 AM
I'm having the following problem I want to create a XML document like <?xml version="1.0" encoding="utf-8"?> <RedlineXML xmlns="urn:autodesk.com:dsd:RedlineXML_v_002.xdr" xmlns:redline="urn:autodesk.com:dsd:RedlineXML_v_002.xdr"> <redline:RedlineMarkup> <redline:MarkupPlane...more >>

XmlSerializer
Posted by Craig Edmunds at 6/9/2004 8:06:02 AM
I'm having a basic problem with the XmlSerializer & i'm at my wits end trying to sort it out i have a basic clas <Serializable()> Class Tes Public Name as Strin End Clas when this serializes i wan <Test><Name>Value</Name></Test the problem is if i use the XmlSerializer clas ...more >>

Write XML and simulataneously verify
Posted by Aayush Puri at 6/9/2004 1:21:02 AM
Hi I have a XSD and an app. that gives some output which I need to be formatted in XML format(schema being a pre-defined XSD). I know how to write an XML file using XMLTextWriter and also to validate it using using XMLValidator. But is there a way to validate simulatenously as the XML is being wri...more >>

tool to convert text to XML
Posted by praveen kumar at 6/9/2004 12:08:53 AM
Hello, Can any one please let me know if there is any open source tool which converts text into XML... regards, Praveen *** Sent via Devdex http://www.devdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Prefixes in Web services (XML/.NET newbie)
Posted by Keld Laursen [eMVP] at 6/8/2004 3:37:42 PM
Hello. I am trying to create a webservice that is to return some XML following some schemas. I have successfully created a webservice and can get it to return attributes and properties as applicable. But I just can't get it to add namespace prefixes to the XML. After some reading in this NG,...more >>

Select Node Questions
Posted by Curtis Justus at 6/8/2004 2:00:41 PM
Hello, Let's say I have the following XML... <?xml version="1.0" standalone="no" ?> <DataItem xmlns="http://abc.com/xmlA"> <Status>ABC</Status> <ReturnList xmlns="http://abc.com/xmlBB"> <ListA> <ListItem> <ItemType code="F">Item F</ItemType> <Score>123</Score>...more >>

XML as a database that can be written to
Posted by mjc at 6/8/2004 11:17:26 AM
Has anyone had any luck using XML as a database that not only can be read, but also written to? What features are available in .NET to do this? I need to do all of this from a Web based application. Am I thinking File System Object? Thanks. ...more >>


DevelopmentNow Blog