all groups > dotnet xml > may 2006 > threads for may 8 - 14, 2006
Filter by week: 1 2 3 4 5
XML ASP.NET 2.o Issue
Posted by SK at 5/14/2006 6:32:25 PM
Hi,
I have the following code and I'm using News.xsl to read the XML file -
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'----------------------------------------------------------------------------
THIS PAST (myXml.Documen... more >>
Subject: retrieving the XmlEnumAttribute values for an Enum
Posted by Edward Clements at 5/14/2006 9:51:02 AM
I have an enum defined as
public enum velocityUom
{ /// <remarks/>
[System.Xml.Serialization.XmlEnumAttribute("m/s")]
ms,
/// <remarks/>
[System.Xml.Serialization.XmlEnumAttribute("cm/a")]
cma,
...
}
This class was g... more >>
Removing the xmlns attribute from the DOM
Posted by Simon Hart at 5/14/2006 12:00:00 AM
Hi,
I have a requirement to remove the xmlns from the DOM in order to pass over
to MS CRM 3.0 Fetch method.It seems the fetch method blows up if there is a
xmlns present!?!
The reason I have a xmlns present is because the Xml I am passing to CRM is
a node from a bigger file that does requi... more >>
Use XSLT to add header text to CSV
Posted by stephen.surina NO[at]SPAM ferc.gov at 5/12/2006 12:39:23 PM
Hello,
I'm trying to convert an xml file to csv using xslt. I can get the
data to write out to the csv. I want to put a line of text at the
beginning of the csv file that describes the content of the file. How
do I do this using xslt?
Thanks!
... more >>
Convert XML Encoding
Posted by Matt at 5/12/2006 11:44:20 AM
I have a situation where I am receiving an XML document from a Korean =
client. They have encoding=3D"EUC-KR" in the XML declaration. This XML =
file will be placed into a SQL 2005 table with an XML datatype column. =
I have found that the XML in SQL stores all data as UTF-16. Does anyone =
... more >>
clone xml node for an other document
Posted by Davidoff at 5/11/2006 2:42:49 PM
Hi
How is it possible to copy or clone a node from a given document to an other
document .
Here is my method :
static void test(XmlDocument doc1,XmlDocument doc2)
{
XmlNode node2 = doc2.CreateElement("node2");
XmlNode root1 = doc1["root"];
root1.AppendChild(node2);//exception ... more >>
What could cause XML files to not be completely written?
Posted by darrel at 5/11/2006 1:46:11 PM
We've had a month long headache with one of our functions in the CMS we've
built.
Whenever a page is updated in our CMS, we do a recursive call to the DB to
get all the pages (and child pages, and child child pages, etc.) and then
create an XML file, and save that to the filesystem. The fro... more >>
XmlSerializer would not serialize properties in the class derived from List<T>
Posted by Jinsong Liu at 5/10/2006 4:45:24 PM
I have following 3 classes
public class MyMainClass
{
MyCollection<MyObject> m_oMyObjectCollection = null;
private string m_sID = string.Empty;
public MyCollection<MyObject> Collection
{
get
{
return this.m_oM... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
bug in XPathNavigator?
Posted by Steven Livingstone at 5/10/2006 11:49:11 AM
Does anyone else experience this issue.
If you are navigating an Xml document using XPathNavigator.
You then use the MoveTo() method to go to a specific child element using the
SelectSingleNode() method.
If the element (or whatever) exits it works fine.
If it does not it goes nuts and take... more >>
Get valid values for an element from its schema
Posted by GU at 5/10/2006 10:49:43 AM
How can one get a list of enumeration values for a given element in an
XML schema? I have been looking at the Schema Object Model, but I'm
making very little headway. Can anyone give me a nudge in the right
direction?
Specifically, I am using Actions Pane to assist in creating a WordML
docu... more >>
XML: pros and cons ?
Posted by Andrea at 5/10/2006 7:51:37 AM
Hello everyone,
I'd like to know which are the main pros and cons of using XML
implementation in business organizations.
>From a technical perspective, I find XML powerful, but looks like it is
being pushed more from technical people than from businessmen...
So, some questions:
1. Pros a... more >>
Serialization to XmlTextReader results in null
Posted by SAM DLG at 5/9/2006 2:21:02 PM
I'm not sure how to do this, but in my n-tiered app, i need to pass
xmlreaders as parameters as opposed to strings and as opposed to
xmldocuments().
here's what I have, I can write fine to a file, but I don't want this IO
process--so I've taken that code out.
private XmlTextReade... more >>
Importing XML in SQL Server 2005 in .Net 2.0
Posted by Neo at 5/9/2006 1:10:44 PM
Hello All,
I tried using bulkupload SQLXML, but it is very unreliable. Is there
any way we can import XML file having schema into database?
Neo
... more >>
XmlTextWriter vs XPathNavigator vs XmlDocument
Posted by Mr Flibble at 5/9/2006 11:09:34 AM
Hey Folks.
If I want to create a simple XMLDocument that contains a few lines of
XML which class should I use? I'm a bit confused of the differences and
which class to use and when.
Ta.... more >>
xPath Partial String Search Expression
Posted by Chakravarthy at 5/9/2006 6:14:02 AM
Given an XML like the below, one can search for London with the xPath
expression using //destination[description='London']/code ... Now my
requirement is, how can we search for all descriptions has word "London"
which will result me the last 2 elements
<?xml version="1.0" ?>
<locations>
<... more >>
Parsing XML file
Posted by ttomes at 5/8/2006 1:58:02 PM
I'm trying to parse a XML file and extract a few data elements. I'm having
trouble extracting the exact elements. I get the entire content of the XML
file in the text box currently. I can't figure out how to just get the
elements/attirbutes that I want. This is being done in Visual Web Dev... more >>
overwrite a serialized object
Posted by Lee Crabtree at 5/8/2006 11:07:20 AM
I'm serializing an object into a file in XML. After the object is
serialized, some other relevant data is written into the file. The rest
of the data winds up being very large most of the time.
Is there a way to re-serialize the object over itself? Here's a quick
example:
Say I have t... more >>
How to remove xmlns attribute from XML document (.net)
Posted by fzhang NO[at]SPAM calamos.com at 5/8/2006 8:59:20 AM
I am relatively new to XML and C#. So, forgive me if this question is
too newbie. :-)
While assuming this is an easy programming task, I couldn't find a
single reference anywhere for how to do it. Here is the situation:
I am given an XML file like the one below from other group in my
comp... more >>
Post XML with HttpWebRequest
Posted by Chakravarthy at 5/8/2006 4:22:01 AM
I’m writing a windows application which intern talks to a web interface
exposed at http://194.224.184.162/barceloDS/interface/xml . Now my problem
is, this exposed interface will accept the XML String as parameter and
returns data in XML Format. You can find the example of the XML Input, a... more >>
|