all groups > dotnet xml > june 2006 > threads for june 29 - 30, 2006
Filter by week: 1 2 3 4 5
XPath string
Posted by Lubomir at 6/30/2006 12:43:01 PM
Hi,
I want to get the node with text=â€{123}â€.
1/
The following statement works fine:
XmlNode wksNode = parentNode.SelectSingleNode("child::wks[text()='{123}']");
2/
When I try to use a variable for the value of text, it doesn’t work anymore:
string str = "child::wks[text()='" +... more >>
TOP clause with XPath
Posted by Mario Vázquez at 6/30/2006 12:00:00 AM
Hi,
Is there any way to simalate the SQL TOP clause using XPath?
Or, in other words, how to get a fixed number of nodes through a XPath
query?
Thanks,
Mario Vazquez
... more >>
Variable in XPath?
Posted by a at 6/30/2006 12:00:00 AM
I'm trying to read a XML document with the following XPath code (programming
in VB .net):
Dim doc As XmlDocument = New XmlDocument()
doc.Load("c:\la2.xml")
Dim wort As XmlNode
Dim root As XmlElement = doc.DocumentElement
wort = root.SelectSingleNode("descendant::e[id='2']")
T... more >>
new to xml - sitemap help
Posted by -D- at 6/29/2006 9:55:59 PM
I'm taking my first stab at using xml, so please bear with my novice
questions and understanding of xml.
I'm trying to create an xml file that holds all my website navigation. If I
understand correctly, I can use xslt to create different menus from the xml
file.
What I'm trying to accompli... more >>
Move node?
Posted by Patrick at 6/29/2006 4:48:13 PM
Hi,
I have a xml file like this:
<?xml version="1.0"?>
<home>
<page name="Test1" id="1">
<page name="Pagetest1" id="2" src="test1.htm"></page>
<page name="pagetest3" id="3" src="test2.htm"></page>
</page>
<page name="Test2" id="4" src="test1.htm">
... more >>
error generating ... Xml document (when calling web service)
Posted by idletask NO[at]SPAM msn.com at 6/29/2006 1:38:20 PM
Hello,
I have an XML file that is on my file system. I want to read the file
into memory and call a web service with it.
When I do, the VB complains:
"there was an error generating the XML document".
I see a lot of posts regarding serialization of classes. I am not that
familiar with s... more >>
XPath performance
Posted by Jon at 6/29/2006 11:17:02 AM
I got a question on executing the xpath. Can someone let me know which way is
faster for the following two scenarios (one with XmlDocument and the other
using XmlDocument.CreateNavigator())?
XmlDocument doc = new XmlDocument();
doc.Load(input);
1. XmlNodeList nodes = doc.SelectNodes(xpath... more >>
XML Serialization or XMLReader for binary object in VB.NET???
Posted by JM at 6/29/2006 5:43:12 AM
Hello,
Most of the examples I've seen with XMLReaders, serialization, etc,.
involve a text file on a file system. Does anybody have a start to
finish VB.NET example of reading an XML Document object (binary) and
parsing it? The object I'm receiving is w3c compliant. I have
somewhat of a Ja... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
|