Groups | Blog | Home


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 > october 2003 > threads for october 15 - 21, 2003

Filter by week: 1 2 3 4 5

XML and Encoding Problems.
Posted by DelBoy at 10/21/2003 11:14:42 PM
I'm tryin to read an XML file created by Oracle into SQL Server. Oracle creates a file using the "WE8ISO8859P1" character set : ISO-8859-1. I need to read the file using UTF-8. The code I'm using to read the file is: objDSXML.ReadXml(sFilename) where sFileName is the full path of th...more >>

MSXML default version on XP ,2000
Posted by Mike J at 10/21/2003 11:00:58 PM
Are there any very safe version of MSXML I can use to build application on XP and 2000, so user don't need to upload any MSXML package to their machine(also this version is not that old) ? Thanks. Mike http://www.ccnote.com Gateway to the most popular web sites. Have a look. ...more >>

filtering xml
Posted by Broccie at 10/21/2003 5:35:39 PM
Hi I'm trying to filter an xml document that contains products for a CD store (music). My xml file is fine and displays fine, but I am a little confused about filtering it now. I want to give the user the option to choose a different genre of music (such as rock) and it will only display ...more >>

Filtered nodes with template/param, but xsl:number still counts them?
Posted by KatB at 10/21/2003 4:37:54 PM
Hi, I posted this today on the xsl-list, but no takers so I thought I'd try here. If nothing else, I would appreciate someone pointing me in the right direction. The following is just a portion of a longer template. I have varying levels of <step> elements with potential customer and assembly...more >>

XML encoding problems
Posted by DelBoy at 10/21/2003 4:26:52 PM
I'm tryin to read an XML file created by Oracle into SQL Server. Oracle creates a file using the "WE8ISO8859P1" character set : ISO-8859-1. I need to read the file using UTF-8. The code I'm using to read the file is: objDSXML.ReadXml(sFilename) where sFileName is the full path of th...more >>

xml enveloped+exclusive canonical signing bug?
Posted by joan garcia vila at 10/21/2003 3:12:52 PM
I'm using .NET framework 1.1 + WSE10SP1.exe. I'm not able to merge transforms: enveloped signature and exclusive canonical to get something like that: <Transforms> <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> <Transform Algorithm="http://www.w3.org/2001/1...more >>

Commas and periods in xsd
Posted by Antonio Maciel at 10/21/2003 2:18:36 PM
Hi. I defined a simpletype as a decimal in my xsd file. If I type a value like 12.7 the validation works, but if I try 12,7 the validation process gives me an error. I am in Brazil, and here decimal numbers are represented with commas, instead of periods (.). Is it possible to make the validat...more >>

newbie Transform question
Posted by googlenews NO[at]SPAM hotmail.com at 10/21/2003 1:41:56 PM
I'm using the transform to output XMLSS (for Excel) and it is working very well. I notice that the output is one long XML stream with no whitespace or carriage returns etc. Is there a way to have the XML that is output "formatted" so that it is a bit more human-readable? I would like to find a...more >>



Flattening XML data during deserialization
Posted by Robert Jacobson at 10/21/2003 12:10:16 PM
Hi, If I have an XML file that stores its data in a hierarchical relationship, is there a way to automatically "flatten" this relationship when I deserialize it (using the XmlSerializer) to a collection of objects? For example, assume that I have an XML file that contains the following data ...more >>

XML bug, what versions, etc
Posted by Ian at 10/21/2003 7:48:06 AM
>-----Original Message----- >Ian wrote: > >> How can I find out for certain which version my .NET >> installation is using, and if I am indeed using version 3, >> how can I upgrade it to version 4 to get the service pack >> 2? If this is what I have to do anyway. > >..NET doesn't use ...more >>

.NET help
Posted by rgarikapati NO[at]SPAM hotmail.com at 10/21/2003 5:52:22 AM
Hi all, It would be very much helpful to me if you post or email an answer to the following question. Here is the requirement and I need an approach with regards to this. I have java web services which exposes certain APIs. These services are running on APACHE AXIS 1.1. We need to build a...more >>

Persist XML Web Control
Posted by Jim Mitchell at 10/21/2003 2:59:33 AM
I can use the XML WebControl to store data to be used on the client, but each time I post back, I have to reload the XML WebControl in order for it to render the XML code. Is this standar proceedure? Thanks in advance. ...more >>

XPath Expressions
Posted by (david_b_mcconnell NO[at]SPAM hotmail.com) at 10/21/2003 1:58:32 AM
Hi, I am having a problem using XPath when I validate Xml documents with a schema. Basically what happens is that an XPath query doesn't return the nodes I require if a schema is used to validate the XML. I'll try and explain it as briefly as possible here. For example, look at the following XML...more >>

Conversion from XPathNavigator or XPathNodeIterator to XmlDocument?
Posted by dans NO[at]SPAM actional.com at 10/20/2003 5:48:52 PM
Hello! I would like to do the following: Use an XPathExpression to extract a nodeset from either an XmlDocument or an XPathDocument. I would later like to be able to add any one of these nodes to an XmlDocument. Is there a straightforward way to take the XPathNavigator that can be returne...more >>

XmlResolver parameter entity problem
Posted by Erwin Gabler at 10/20/2003 4:30:33 PM
Trying to validate a document with a reference to a DTD ("PUBLIC" identifier): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE systems-description PUBLIC "-//foo/nono" ""> .... The DTD uses some kind of parameter entity with a reference to an entity file: <!ENTITY % PTSD PUBLIC "-//foo...more >>

xml problems with dotnet1.1
Posted by Björn at 10/20/2003 4:19:25 PM
Hi List I have developed a small app reading xml files using dotnet1.0. Now I changed to dotnet1.1. The Problem is with Dotnet1.1 the Method OuterXml from class XmlDocument returns the xml string in another format. In Dotnet1.0 the returned string looks like "<TAG ELEMENT='1'>DATA</TAG>" ...more >>

XML bug: what version etc.
Posted by Ian at 10/20/2003 6:55:50 AM
I have while developing an application using the XML DOM within VB.NET come across a problem with attributes of a node, where the default values required by a DTD are ommitted by the XML parser that the DOM is using when no values are present. There is an article on this on the knowledge ...more >>

Replace <P> with nothing
Posted by alexandra.gerard NO[at]SPAM wunderman-i.com at 10/20/2003 2:41:24 AM
Good morning all, I have the following xml : <?xml version="1.0" encoding="UTF-8"?> <anchor> <title>Seconde classe</title> <content> <P> Hello World, <b>here is a text in bold</b> and this is the rest of the text</P> <P> Hello World 2, this is the second paragraph ! <b>here is a text ...more >>

Managing XmlDocument Lifetime
Posted by JD at 10/19/2003 1:07:03 PM
I'm currently writing a class to manage per-user configuration files, using the same format as the app.config file. This will be used in a Winforms app to manage user options, window positions, etc. When instantiated, the object will be available as a service at the application level. The...more >>

determining current element in an XmlTextWriter
Posted by Jon the Blind at 10/18/2003 5:00:46 PM
Is there a way to determine what the current open XML element is in an XmlTextWriter, without reading back the stream? Thanks. Jon ...more >>

Rss News Feeds???
Posted by Ken at 10/18/2003 3:07:04 PM
I'm trying to make an ASP page with VS .NET 03 using VB as the language and I want the page to display an Rss News Feed as page content form another RSS News Feed on a web page served by another one of my IIS srevers, I don't know how to do this it sounds simple enuf but were do I start is it a...more >>

How do I load vb.net Datagrid from xml
Posted by dwang NO[at]SPAM woodace.co.uk at 10/18/2003 2:22:47 PM
Hi I an a mebie to XML / vb.net and I am struggling. I am developing a web base applcation using XML to link to its database so. Here is the XML I want to load into to a datagrid. The datagrid has the number of columns specified and is ready and waiting for its data. <Users> <...more >>

How to present Many - Many relationship in XML?
Posted by ning at 10/17/2003 10:28:39 PM
It's easy to present "One - Many" relationship in XML, but how to present "Many - Many" relationship in XML?...more >>

DataRelations
Posted by Les.Brown NO[at]SPAM jda.com at 10/17/2003 12:17:10 PM
I have a problem getting Dataset.WriteXml() to create a nested xml realtionship. All I get is an inline xsd (all nodes are children of the root). Documentation says to use Dataset.Relations.Nested="true"; but this doesn't produce the nested xml as it should. I have even used a unit test, "Mes...more >>

How to specify root when serializing collection
Posted by Chris Becker at 10/17/2003 11:31:13 AM
How can I change the name of the root element from ArrayOfPasswordEntry to PasswordList or whatever? I have tried [XmlRoot("PasswordList")] before the public class PasswordEntries definition, but XmlSerializer won't accept. Please help! Here's the output: <?xml version="1.0" encoding="utf-...more >>

How do I convert a string to XML string
Posted by (joe_rattz NO[at]SPAM genpt.com) at 10/17/2003 10:45:04 AM
I need to convert a text string ("Dewey & Cheatham & Howe") to an XML encoded string ("Dewey &amp; Cheatham &amp; Howe"). I am not building an XML document, I am just trying to convert a single string. I have looked at the System.Xml namespace, but I can't quite find what I need. XmlTextWriter.Wr...more >>

Binary data in XmlNode?
Posted by adam2001usa NO[at]SPAM hotmail.com at 10/17/2003 7:59:07 AM
How can I read binary data, specifically a microsoft word document into an XmlNode? Thanks in advance. Adam Smith...more >>

how do i put remark notes in xsl
Posted by Microsoft at 10/16/2003 10:51:02 PM
a very simply question: how do i put remark notes in xsl source code? ...more >>

Troubles with editing XSLT doc
Posted by jernej goricki at 10/16/2003 8:43:32 PM
Hy I'm trying to edit a XSLT document, just like I'm editing a XML document : (Im trying to make a new xsl:template tag here ) Dim myXml As New XmlDocument() myXml.Load(Server.MapPath("XSLLinks.xslt")) Dim XmlLinks As XmlElement Dim XmlNewLink As XmlElement XmlLinks = myXml.SelectSi...more >>

XmlConvert and Object type
Posted by Jon the Blind at 10/16/2003 4:36:56 PM
I'm looking for a way to retrieve data via System.Reflection.FieldInfo.GetValue (which returns an Object) and convert it to XML using XmlConvert.ToString. XmlConvert accepts only specified data types, so I could have a big ugly branching Select statement to call the correct ToString overload.....more >>

Compressing xml file
Posted by Devesh Aggarwal at 10/16/2003 2:51:22 PM
I am using sharpziplib ti compress & zip an XML file. But the compression ration is very bad for this utility compared to that i do with winzip. Any idea how to integrate winzip with our VB.net application to compress xml files. Or is there any other utility to do the kob Devesh ...more >>

how can I change node name
Posted by zerdust at 10/16/2003 2:38:39 PM
how can I change the name of XML node? this is sample <?xml version="1.0"?> <adresboek> <adres> <naam>Mark van Renswoude</naam> <straat>ddden 24</straat> <plaats>Scddd</plaats> <email>ma@xe.net</email> </adres> </adresboek> I copy this sample with using Clone();...more >>

Send Xml file to asp page
Posted by Sasha at 10/16/2003 11:54:06 AM
Hi, I need to send xml file to an asp page.. I have no idea how to do it... I only know that I need to do HTTPRequest Post... Could someone help? Maybe there are some examples on the Web? Thank you, Sash ...more >>

Baby question about creating XML documents
Posted by Heinz Kiosk at 10/16/2003 11:27:22 AM
I'd like to implement the IHasXmlNode interface in a class heirarchy. I can't see how you do this as all of the classes that I'd use to build the XML and return it seem to be locked down for Framework Use Only. Presumably I'm missing something. I could just ignore IHasXmlNode and build text st...more >>

XML save issue in .NET
Posted by Amendra at 10/16/2003 9:46:13 AM
Hi, Currently we are using the .NET XMLDocument Class to manipulate some xml documents. The issue we are having is that when we save the XML files using the classes save method, empty xml tags will be saved with a CRLF instead of the empty value. This can be solved by setting the PreserveWhite...more >>

Unable to view XML content generated on-the-fly in IE 6.0
Posted by Rajiv Das at 10/16/2003 9:36:14 AM
Programming Language: C++, XML Development Env: VS.net 2002 Platform Win2k, SP4 Browser: IE 6.0 XML Parser MSXML 4.0 --------------------------------------------- I have an XML file having around 1000 nodes under the root. Further, each node may have several children. However, I am only int...more >>

XSD to XML transformer
Posted by Martijn at 10/16/2003 4:54:19 AM
Because XSD (XML Schema Document) is a definition of the XML document, there must be a parser that can read a XSD file and give the complete XML file as a result. Is there something like this, or do I have to create it by my own??...more >>

Getting exception "The node to be inserted is from a different document context."
Posted by Eirik M. at 10/15/2003 3:44:48 PM
Hi, I've got the following piece of code that's causing me a bit of a problem XmlDocument doc = new XmlDocument (); XmlNode rootNode = doc.CreateNode (XmlNodeType.Element, "usersettings", null); User user = new User (userid); XmlNode rolesNode = user.GetRoles (); rootNode.AppendChild (r...more >>

Making sure a replica of another node is not saved in the xml document
Posted by Anita C at 10/15/2003 9:53:41 AM
Hi, How do I iterate through the nodes of an xml file to check if the newly added node is a replica of another node(incl. innertext and each element of the node and values thereof) ? If there newly added node is a copy of another node I would then delete the new node and save the xml file. All ...more >>

trying to instantiate XPathDocument with MemoryStream
Posted by D at 10/15/2003 8:47:26 AM
Hi, I am trying to instantiate an instance of XPathDocument after serializing XML into a memory stream. Here is my method that uses XmlSerializer public MemoryStream SerializeXMLSelectedApplication() { System.IO.MemoryStream stream = new MemoryStream(); try { XmlSe...more >>

InnerXml
Posted by madmakdread NO[at]SPAM yahoo.de at 10/15/2003 7:20:30 AM
hello, i despair on one simple problem (maybe it's to simple???) I have the string txt = "hallo</hmm>" or txt = "am&24" and want to pass it to the XmlNode InnerXml property myNode.InnerXml = txt //error ---------------------------------------------------------- how can i trans...more >>


DevelopmentNow Blog