all groups > dotnet xml > february 2005 > threads for february 1 - 7, 2005
Filter by week: 1 2 3 4
XML and TreeView in VB.net
Posted by Vibor at 2/7/2005 1:02:19 PM
Hello,
I have XML file that looks likes this:
<?xml version="1.0" encoding="utf-8" ?>
<prezentacije>
<datoteka naziv="Koherentni valovi"
lokacija="https://161.53.9.159/Predavanja/Buljan_files/Default.htm#nopreload=1"
/>
<datoteka naziv="Zvjezdana praĊĦina"
lokacija="https://161.53.9.15... more >>
XML document including another
Posted by pete_griffint NO[at]SPAM hotmail.com at 2/7/2005 3:03:22 AM
Howdy,
I want to have, schematically:
MasterDocument.xml:
<?xml...>
<tags here>
<include "doc1.xml" />
<include "doc2.xml" />
</tags>
Is there any way I can use XmlTextReader to parse this? Or has anyone
made a suitable derived class? Upon hitting include, when I Read() I
want to move ... more >>
Namespace Prefixes
Posted by Anirudh at 2/7/2005 1:41:00 AM
Hi,
i have a SOAP XML which is similar to this:
<request xmlns="http://www.someurl.com">
<abc>
<xyz></xyz>
<xyz></xyz>
</abc>
I need the same namespace for 'request' and 'abc' but i want to
maintain the default namespace for 'xyz'. i.e, i want the xml to look
something l... more >>
changing the "markup" of a node
Posted by chris yoker via DotNetMonster.com at 2/6/2005 5:16:04 PM
hi,
I have an xmlFile
<code>
<rows>
<row>
<PRODUCT-TYPE>bike</PRODUCT-TYPE>
<PRODUCT-DATE>01/01/2004</PRODUCT-DATE>
<ADDED-NODE>"blah"<ADDED-NODE />
</row>
<PRODUCT-TYPE>Car</PRODUCT-TYPE>
<PRODUCT-DATE>01/01/2003</PRODUCT-DATE>
<ADDED-NODE>"blah"<ADDED-NODE />
</row>
</rows>
... more >>
loop thru collection and add "innerText" to nodes via XsltArgumentList
Posted by chris yoker via DotNetMonster.com at 2/6/2005 12:54:34 PM
hiya,
I add new nodes to an xmlDoc.
I want to add "innerText" to every newly-created node.
current XML file
<code>
<rows>
<row>
<PRODUCT-TYPE>bike</PRODUCT-TYPE>
<PRODUCT-DATE>01/01/2004</PRODUCT-DATE>
<ADDED-NODE />
</row>
<PRODUCT-TYPE>Car</PRODUCT-TYPE>
<PRODUCT-DATE>01/01... more >>
help needed for correct tools
Posted by GeorgeAtkins at 2/6/2005 6:57:02 AM
I am using VS2003 and VB.NET.
My project is to locate book titles within a library collection exported
into an XML file and edit quiz information related to that book's library
record. The "quiz information" originates in another text file containing
book titles and quiz information.
-... more >>
Date datatype in my schema
Posted by David Slinn at 2/5/2005 9:45:34 PM
I have created a simple XML document, generated a schema from it (which
Visual Studio makes everything a string element). I then went through and
changed all fields that are dates to the Date data type. Now, when I use
the datagrid to edit the data in the XML file and then switch back to the
r... more >>
"node.InsertAfter" method only inserts node on final call
Posted by chris yoker via DotNetMonster.com at 2/4/2005 7:35:16 PM
hiya,
I succesfully return a "nodeList" thru the "xmlDoc.SelectNodes" method.
This nodeList is taken from a repetitive, uniform xml doc.
I can successfully append a child node at the correct position using the following code:
<code>
<!--Node successfully inserted into corrrect position... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Simple Xml Validation with strings
Posted by Ward Bekker at 2/4/2005 11:32:28 AM
Hello,
I have two strings;
string XmlFragment; //contains the xml document
string XsdSchema; //contains the xsd schema
I would like to validate the XmlFragment against the XsdSchema. What is
a clean, simple way for accomplishing this?
Bye,
Ward
... more >>
Problem querying a XSLT stylesheet
Posted by Richard L Rosenheim at 2/4/2005 9:34:30 AM
I loaded a XSLT stylesheet into a XMLDocument to retrieve some of the data.
I received an exception when the SelectNodes method was invoked. The
message was "System.Xml.XPath.XPathException - Namespace Manager or
XsltContext needed. This query has a prefix, variable, or user-defined
function."... more >>
sending soap message - still having problem
Posted by mark kurten at 2/4/2005 7:11:01 AM
I have a soap message that looks like this.
s = s & " <soap:Envelope
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'"
s = s & " xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'"
s = s & " xmlns:xsd='http://www.w3.org/2001/XMLSchema'>"
s = s & " <so... more >>
New XMLDataDocument(DataSet) - exception when relations.nested = true
Posted by James Ankrom at 2/3/2005 2:54:40 PM
Why does this fail?
Dim relResources As New Data.DataRelation("Application_Resources",
..Tables("User_Applications").Columns("Application_id"),
..Tables("Resource_Rights").Columns("Application_id"), False)
mUserData.Relations.Add(relResources)
relResources.Nested = True
Dim UserDataXML A... more >>
Parsing attributes and elements of XSD file
Posted by Raju at 2/3/2005 2:54:15 PM
In one of my applications,user will provide the .XSD file and i 've to parse
thru the Elements and attributes
and generate the XML string.
Example:
XSD file :
?xml version="1.0" standalone="yes"?>
<xs:schema id="users" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata=... more >>
XSLT problem -- namespace issue?
Posted by Richard L Rosenheim at 2/3/2005 11:59:53 AM
Here's a sample XML file (created by saving a dataset):
<?xml version "1.0" standalone="yes"?>
<dsData xmlns="http://tempuri.org/DataSchema.xsd">
<Configuration>
</Configuration>
<Data>
<ID>0</ID>
<Title>Test #1</Title>
</Data... more >>
XSD.EXE, schemas and classes with collections of objects
Posted by William Sullivan at 2/3/2005 8:31:06 AM
I'm investigating using schemas to create classes for a project I'm working
on. For simple classes, this works well (except for making all the instance
var's public). However, the class I want to make has among its members a
collection of objects. I have done some research, but I can't figu... more >>
xml polymorphism
Posted by ross NO[at]SPAM smith-bath.co.uk at 2/3/2005 4:34:25 AM
If I have, for example, an abstract ClientType with substitutions by
IndividualClientType and CompanyClientType, then afaik both of the
following xml forms should be valid:
<application>
...
<IndividualClient>
<Forename>
...
<applicaton>
...
<Client xsi:... more >>
Encode xml text
Posted by Bruno at 2/3/2005 4:31:46 AM
Hello,
I have a code that generates a xml file and I have some texts that contains
" ' < > etc....
how do I encode these texts to have them showed with the characters < " ' /
> etc...
thanks!
Bruno
... more >>
XML Validating Reader and XmlSchemaException
Posted by Craig Beuker at 2/2/2005 11:52:53 PM
Hello,
I am experimenting with this XmlValidatingReader and have a question
about how it is working (or not working as would be the case)
The sample documents and code are included at the end of the post. I am
using VS.net 2003, .Net 1.1, Win2k Server
I have a simple schema and a simp... more >>
How to read xml into dataset from xmlwriter object?
Posted by AceMonster at 2/2/2005 4:42:47 PM
Hi,
I have two Datagrids.
>From the DG1, I read the content by DG1.WriteXml(xmlWriterObj...)
Now, I would like to copy the content of xmlWriterObj into another
datagrid
I don't want to write the content of xmlWriterObj into a file rather
keep them in memory.
So, when I tried to use DG2.... more >>
debugging
Posted by Mark at 2/2/2005 1:35:51 PM
my client program is in .net and my web service is in .net. is there a way
to put a breakpoint in my webservice and view the soap message coming into
the service?
thanks.
... more >>
huge xml
Posted by rus NO[at]SPAM on-consult.ch at 2/2/2005 10:30:10 AM
hi,
I have to import a huge xml file into our system. the problem is that
the xml source can be larger than 2GB. I wanted to use the
XmlTextReader class for this purpose but it's limited to 2GB (which
makes sense to me, why would people make so big xml files?).
The xml file basically contains... more >>
Read/Write a My XML File
Posted by John Fred at 2/1/2005 2:42:02 PM
I have created a XML File With XmlTextWriter and the result is :
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Configuration>
<Settings>
<DbName>DoxWork</DbName>
<PathDB>C:\Documents and Settings\v.savino\Desktop\</PathDB>
<DbServerName>Server</DbServerName>
<... more >>
XmlSerializer instantiation error
Posted by Steve Long at 2/1/2005 1:19:57 PM
Hello,
I hope this is the right group to post this to. I'm trying to serialize a
class I've written and I'd like to be able to serialze to both binary and
xml formats. Binary serialization is working fine but when I try to
instantiate an XmlSerializer object with:
Dim xmls As New XmlSerialize... more >>
|