all groups > dotnet xml > january 2007 > threads for january 29 - 31, 2007
Filter by week: 1 2 3 4 5
XML DOM vs. IE DOM
Posted by WalterWalt at 1/31/2007 3:56:05 PM
I want to reference my XML DOM the same as in IE.
I want to say
dim strTitle as string =
xmlnodereader.element['books'].attribute['title'].value = "The Autobiography
of Benjamin Franklin"
This has to be possible, help is appreciated, thanks.
----------------------------test.html
<sc... more >>
Using the WebControls.Xml control
Posted by Chris at 1/31/2007 2:25:23 PM
I am using the WebControls.Xml control to render some xml from a memory
stream using an xsl file from disk.
It seems to be doing everything now but rendering the xml. (slight detail)
When I execute the following, I see that my XSL was used to display some
hard coded stuff but the XML was ne... more >>
XMLNodeReader question
Posted by WalterWalt at 1/31/2007 11:53:06 AM
Below is a part of my xml file returned from a webservice. Instead of
converting to a datatable and going through it a record at a time checking
if ClientCodeType = "Balloon_Type" and ClientCode = "R" to the OurCode of 3,
I want to use the XMLNodeReader to get that result back using MoveTo.. ... more >>
Saving/restoring strongly-typed DataTable to/from XML
Posted by timnels NO[at]SPAM gmail.com at 1/31/2007 6:15:04 AM
I have a strongly-typed DataTable I need to save as XML and later
reload it.
I thought that all I had to do was:
menuDataTable.WriteXml(filename,XmlWriteMode.WriteSchema);
And from another application do:
menuDataTable.ReadXml(filename);
But I keep getting... ... more >>
Get from a DataView to an XPathDocument
Posted by Chris at 1/30/2007 5:25:21 PM
I want to get from a dataview to an XPathDocument.
I have tried the following:
System.IO.MemoryStream memstream = new System.IO.MemoryStream() ;
DataView.ToTable().WriteXml(memstream);
XPathDocument oXPathDocument = new XPathDocument(memstream);
My xPathDocument line crashes... more >>
How do I enforce a xsd?
Posted by mortb at 1/30/2007 2:28:57 PM
Hi!
My users shall be able to upload xml documents to my web server.
I will check the validity of the documents with my xsd schema.
The document will contain something like:
<project>
<project-item />
</project>
1- How do they specify in the xml document that they are using my schem... more >>
Can XmlDocument.Load() method handle unicode characters?
Posted by lamxing NO[at]SPAM gmail.com at 1/30/2007 12:51:35 PM
Dear all,
I've spent a long time to try to get the xmldocument.load method=20
to handle UTF-8 characters, but no luck. Every time it loads a=20
document contains european characters (such as the one below, output=20
from google map API), it always said invalid character at position=20
... more >>
Loading XML file into XMLDocument
Posted by Pesci Drums at 1/30/2007 10:01:13 AM
Hey There!...
I've been dealing for hours trying to figure out why do I get the
following error message:
Type 'System.Xml.XmlDocument' in Assembly 'System.Xml,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is
not marked as serializable.
I'm using the following met... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Expression must evaluate to a node-set
Posted by anetasalomonsen NO[at]SPAM hotmail.com at 1/30/2007 5:18:37 AM
I am using xpath within a BizTalk 2006 orchestration.
I get the following error "Expression must evaluate to a node-set".
My xml:
<EmailListResponse xmlns="http://BTTest">
<PersonContact EMailContactValue="test1@mail.com" />
<PersonContact EMailContactValue="test2@mail.com" />
</EmailL... more >>
XmlTextReader Help!!!
Posted by Roshawn at 1/29/2007 6:42:50 PM
Hi,
Ok, so here's my problem. I'm trying to read an xml file using an XmlTextReader. The file itself is simple. What I'd like
to do is compare each node's value attribute to another string. If they are the same, I'll retrieve the text of the node and
do some mumbo-jumbo with it.
Here's... more >>
insert a xsl:value -of into a href property
Posted by Rotsey at 1/29/2007 5:37:12 PM
Hi,
I want to insert a variable in XSL into a the href property of a anchor.
What is the syntax for this???
<a href="Mypage.apsx?docID=<xsl:value-of select='docID'">Click this link</a>
Is that correct?
rotsey
... more >>
Question about serializing...
Posted by Kurious Oranj at 1/29/2007 3:28:37 PM
I've currently got a database structure which is something like:-
class a
- member type
- effective date
and:-
class b
- client name
What I really want to do is to serialize as:-
<classb>
<effectivedate>date</effectivedate>
<clientname>clientname</clientname>
</classb>... more >>
|