all groups > dotnet xml > november 2003 > threads for november 22 - 28, 2003
Filter by week: 1 2 3 4 5
Tools for comparing Xml documents
Posted by Donal McWeeney at 11/28/2003 4:51:20 PM
Hi,
Does anyone know any good tools for performing a side by side comparison of
2 xml documents on an element by element and attribute by attribute basis.
Thanks
Donal
... more >>
XmlDocument save and end tag formatting
Posted by Donal McWeeney at 11/28/2003 4:50:02 PM
Hi,
I am doing some work with the XmlDocument class for loading and saving files
and I notice that the save call is writing out the empty element in the
following format <element /> - is this formatting possible to control? ie.
get it to write out <element></element>.
Thanks
Donal
... more >>
How to XMLSerialize Collection Class
Posted by hman at 11/28/2003 3:38:09 PM
Hi,
I have a collection class where I've implemeneted the
ICollection Interface.
Here is a small code segment.
public class PageList : ICollection, IComparer,
IEnumerable, IList
{
protected ArrayList _pages;
public PageList()
{
_pages = new ArrayList();
}
#regi... more >>
XML clone/possible encoding/byte order mark problem
Posted by Donal McWeeney at 11/28/2003 12:20:58 PM
Hi,
I think I may have a slight encoding problem with what I am doing.
I have a test console app that takes an xml document and splits it
into a number of smaller xml documents.
First thing I do is clone the input document. At the moment I am just
saving this document and when I do a wind... more >>
Disabling MSIE XSLT processing
Posted by jwalton NO[at]SPAM cix.compulink.co.uk at 11/28/2003 8:46:42 AM
Sorry if slightly off-topic, but I have asked / researched many other
places already, maybe someone here can help?
MSIE has a useful (for users applications) feature of performing XSLT
transformations if a stylesheet is specified in the XML file, e.g., within
the data file:
<?xml versio... more >>
Flat Schema validation
Posted by Anders Nilsson at 11/27/2003 2:59:48 PM
I'd like to know if there is support in .NET to
somehow "flatten" a nested XML schema.
Here is the situation:
Currently I have code that can validate nested XML
against a schema. The XML is generated by using a DataSet.
Now I want to generate the XML as non-nested from the
DataSet by settin... more >>
How to get Multiple Recordsets from StoredProc?
Posted by Keith Chadwick at 11/27/2003 11:14:54 AM
I prefer to use stored procedures over having sql statements sitting in my
..NET code.
My problem is I can not figure out how get .NET to understand there are
multiple recordsets coming back. Each of the recordsets is returning xml
data and if called individually would be called as :
Dim m... more >>
System.Xml.XmlException: hexadecimal value is an invalid character
Posted by Todd at 11/27/2003 8:41:43 AM
Our ASP.NET (C#) application accepts form entry and saves=20
inputed data in XML.
We are finding that users are sometimes cutting and=20
pasting special characters (from MS Word) into these=20
forms. The data is saved successfuly, but when the XML is=20
later read the following error is enco... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
xsd.exe and the resulting cs classes.
Posted by Iain at 11/26/2003 7:46:06 PM
I'm embarking on a c# based project in which I would like to make use of a
lot of XML including database access and using hte xml and .net tools as a
coding shortcut.
What I'm trying to understand at the moment is how to use xsd.exe and result
..cs files to mange the xml.
First question.
... more >>
Converting a DTD into csharp objects
Posted by andy NO[at]SPAM encomia.com at 11/26/2003 6:49:35 PM
Is there a quick and easy way to convert a DTD into C# objects /
interfaces?
I realize this can be done with schema, but I have been given the
DTD's as a requirement.
Thank you.... more >>
XSLTransformation Question
Posted by Loren Dummer at 11/26/2003 3:08:25 PM
I have an XSLTransformation question I hope someone can help me with. I am
trying to program this using VB.Net.
I currently have a VB6.0 application which I am converting into VB.Net. The
last piece of code I have to convert is an XML transformation. What I am
trying to do is take two sting ... more >>
Transformation problems...
Posted by Andrew Connell at 11/26/2003 1:26:41 PM
I have an XML document and an XSLT transformation sheet. My first issue =
is that my XML file won't load into the XPathDocument object. However, =
when I use an obsolete transformation method where I specify the XML =
input file and output file, I get the same error. The error is:
An unhand... more >>
Webservice to Windows service
Posted by Carelo at 11/25/2003 9:16:37 PM
Hi
Is it possible to initiate a windows service from a
webservice (possible create a web service listener??)
Any ideas or examples?
Thanks
Carelo... more >>
Odd behavior on xsl:include / xsl:import - Figure this one out?
Posted by Keith Chadwick at 11/25/2003 8:57:55 PM
I have been running some tests with regards to xsl:include and xsl:import
with the same results on both and I am wondering if someone can explain this
behavior to me!
First off the xslt file is being loaded as in
dim myXSLT as new XslTransform()
myXSLT.load("scripts/clnt.home.body.xslt")
... more >>
XPath queries with Namespaces
Posted by Wells Caughey at 11/25/2003 5:21:03 PM
I am having trouble writing an XPath query that deals with namespaces. I've
see the documentation that says that I have to use a XmlNamespaceManager and
qualify my queries such that they match up with the definitions added to the
XmlNamespacemanager, but I want to write a query that pulls all of... more >>
Problem inserting a node with a namespace
Posted by jwalton NO[at]SPAM cix.compulink.co.uk at 11/25/2003 4:45:16 PM
This is so silly I must be doing something wrong! I need to insert (using
VB.NET) a new node in a DOM; node has a namespace. I first create, under
programme, basic structure, starting thus:
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syn... more >>
ASP.NET Virtual Directories (xsl:import)(appSettings) - Help?
Posted by Keith Chadwick at 11/25/2003 3:52:26 PM
I have 3 individual ASP.NET applications that make up the overall web
application. Each of these websites share some common styles, scripts and
xslt files. These are all placed in a single directory structure then in
IIS each .NET application has the virtual directory called shared created.
... more >>
XML EUROPE 2004 -- CALL FOR PAPERS
Posted by marionell NO[at]SPAM aol.com at 11/25/2003 2:16:03 PM
"Documenting the Future"
XML Europe takes place 18-21 April at the RAI Centre in Amsterdam. XML Europe
2004 provides the premier European forum for the XML community, spanning the
worlds of electronic business, publishing, the Internet, e-government, software
and open standards development.
T... more >>
Create an ASP.NET Web Service
Posted by BStuart at 11/24/2003 7:48:10 PM
Not sure if this is the correct group to be posting this
at but here goes.
I am in the MSDN Library and doing the step-by-step
instructions on the "Walkthrough: Creating a Distributed
Application" and I appear to be a lost at step 5 in the
section titled "To create an ASP.NET Web Service ... more >>
Resolving XML Schema documents on-the-fly?
Posted by Lee Chapman at 11/24/2003 6:19:46 PM
Has anyone successfully been able to use an XmlValidatingReader (Framework
1.1) to validate documents against XML Schemas that haven't been added to
the XmlValidatingReader.Schemas collection first?
e.g. I have the following XML document, and I want to validate it.
<doc xmlns="my-first-namsp... more >>
XML Serialisation problem
Posted by Patrick De Block at 11/24/2003 3:12:38 PM
Hi,
We are serializing objects to an xmlfile that is validated against a schema.
For this schema the elements are serialized in the wrong sequence. Does
anyone know how I can let the serializer sequence the object members in the
order required by the schema?
thx
Patrick De block
... more >>
IXsltContextFunction.Invoke
Posted by Colin Savage at 11/24/2003 12:02:41 PM
When creating a function in xpath with IXsltContextFunction, if the return
type is nodeset, what do you actually return from the Invoke function? A
XmlNodeList? XPathNodeIterator?
public System.Xml.XPath.XPathResultType ReturnType
{get{
return System.Xml.XPath.XPathResultType.NodeSet;
}}... more >>
Get attribute from Xml file
Posted by shearne NO[at]SPAM tssg.org at 11/24/2003 4:30:48 AM
I'm looking to get noNamespaceSchemaLocation attribute from the
following Xml file. Whats the most efficient way to do this using the
XmlDocument class in c#?
<?xml version="1.0"?>
<IPDRDoc xmlns="http://www.ipdr.org/namespaces/ipdr"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xs... more >>
Placing dataset into XPathDocument
Posted by Keith Chadwick at 11/23/2003 5:13:22 PM
I have a merged dataset that contains xml read from SQL Server. I need to
place the data into an XPathDocument.
I can do the following:
mydataset.writeXML("mydata.xml")
dim xpdoc as new XPathDocument("mydata.xml")
Problem is it seem rather redundent to write data currently in memory to
... more >>
Support W3C RDF?
Posted by Maurice at 11/23/2003 3:32:36 PM
Hi,
Does anybody know whether Microsoft's Visual Studio
supports the W3C Resource Description Framework concept?
If so, how?
regards,
Maurice... more >>
how to write some xml into huge xml file into speceific location???
Posted by Xenia at 11/23/2003 2:09:03 PM
Hello!
Is anyone can help me to figure out how to write some xml into huge xml file
into speceific location???
Say, i have a file about 139 Mb and i need to write some data (xml) into it,
but in speceific location (specified by XPath for example). i have tryed
used MSXML dom for it, but its... more >>
Auto Increment in Datasets
Posted by VJ at 11/23/2003 1:09:42 PM
I have a dataset with a AutoIncrement column.. I write this to a XML file
and read it back..to a Dataset.. The auto increment works perfectly every
time. It picks up were it left...were does it pick up the last value from?..
I mean I thought it uses the max value + 1 logic for existing rows.. not... more >>
Transform XML string using XSL file (v1.1)
Posted by spam NO[at]SPAM aconnell.com at 11/23/2003 12:05:26 PM
Having fits transforming an XML string using an XSL file. In the 1.1
version of the framework, I see that the XmlResolver is heavily used
in the XslTransform class. However, that looks like I am only
supposed to use that only when you have an xml ~file~... not an XML
string (my XML is coming f... more >>
Reading XML into a DataReader?
Posted by CN at 11/22/2003 10:28:00 AM
Can anyone tell me how to read an XML file into a
SqlDataReader?
I can pull it into a dataset, but want to have the same
formatting capabilities that I have with a DataReader.
Thanks.... more >>
Re: MSXML5: where to get the redistributables?
Posted by Andy Chau at 11/22/2003 10:24:25 AM
I am using the msxml5.dll that comes with Office 2003.
Is there a redistributables of msxml5.dll just like msxml4?
If so, how do I get it?
Thanks
Andy
... more >>
|