Hi, I am trying to get list using xpath data[a='1']/a. Here is the xml <data> <a>h</a> <a>2</a> <a>56</a> <a>4</a> <a>1</a> </data> I am not getting desired result say <a>1</a> node rather that I am getting all the nodes. We can check xpath from here http://chris.photobooks.com/xml/default.htm[^]
snehasish
Posts
-
Xpath problem -
How to show the content of gzip file in browserHello ; Can any one give me an idea about how to show the content of gzip file in browser. Thanks Snehasish
-
Reading excel data into datatableHello Friends, Recently i have tried to load a excel data into a data table.But when it load data into data table some of cell of data table left blank.But there have data into excel cells.I have not found any special character in those cell.I made column format into text.
-
loading native xmlhi; it is a remote xml.Ho can i replace it with &
-
loading native xmlhi; I want to load it dataset or any otherway. Here is my remote xml for Ex. ... <property> <id>1</id> <country>USA</country> <Province>Jaé</Province> </property> <property> ..... getting an error XML Parsing Error: undefined entity
-
loading native xmlhi all; Is it possible to load native xml which has a special character '&'.?
-
i want call a javascript from serverside after a asynchronous post backhi Rajdev; awesome,very nice code,many thanks. :) :)
-
Error:There is no source code available for the current location. show disasemblyhi; i can't solve this error.This become a headache to me.i have no problem in source code.plz anyone help me. :( :sigh: :(( . i am getting following from disassemble. --- d:\E\AjaxTk-AjaxControlToolkit\Release\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs 00000000 push edi 00000001 push esi 00000002 mov esi,ecx 00000004 mov edi,edx 00000006 cmp dword ptr ds:[04DA4CC0h],0 0000000d je 00000014 0000000f call 72DF2227 00000014 cmp byte ptr [esi+55h],0 00000018 jne 00000021 0000001a mov ecx,esi 0000001c call FFFFF390 00000021 mov edx,66468A58h 00000026 mov ecx,6DF85B0h 0000002b call 72DF3DB8 00000030 mov edx,edi 00000032 mov ecx,esi 00000034 call 5EE06980 00000039 mov ecx,esi 0000003b call dword ptr ds:[07041FF8h] 00000041 nop 00000042 pop esi 00000043 pop edi 00000044 ret
-
update panel not working [modified]Hi; Thanks for reply.It works if i put entire table into update panel.but not working i keep another table outside updatepanel.Here is my code
enter your name
select any one
a b c
your select is
-
update panel not working [modified]hi; I am not able to have update panel do a partial post back.Page is refreshed each time when selected index changed. Can any one please tell me , what am I missing ?
enter your name select any one a b c your select is
my code behind is
Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
Label1.Text = DropDownList1.SelectedItem.Text
End Submodified on Thursday, April 23, 2009 2:20 AM
-
how can I get maximum values from set of alphanemeric field [modified]Hi; I create a field(namely Id) which have two types(09a.. or 09b..) of alphanumeric value like; Id 09a1001 09a1002 09b1001 09b1002 09b1003 from these numbers at time a i need maximum value of 09a (it will be 09a1002) series or maximim value of 09b series(it will be 09b1004). Help me.
modified on Thursday, January 29, 2009 7:57 AM
-
dll issuehi; Sorry for the delayed response.your suggestions was extremely helpful.Actually i got(in APP_CODE) some code in C#.net.But my project is running on vb.net.so i was trying to covert it by some online conversion tool.But it provided error in my application.So i tried to convert it into dll.Now it works.Thanks again. :) :) :) :) :) :)
-
dll issuehi; I want to create dll of all files are in APPCODE folder.I am using asp.net 2.0 frame work. Thanks
-
How can i make this internet sequrity systemRecently i went to a cyber cafe.They use cable broad band.Means every user is in lan.For surfing internet they have to log in first.This log in page is automatically provide by local server.Log in url is like "http://192.168.183.200:8080/alliance/login.do".Other wise sign in into local server you can not surf internet. I want to make this system by .net. give me ideas
-
tracing indivisual machine by server:) Well,I think you do not understand me.Recently i went to a cyber cafe.They use cable broad band.Means every user is in lan.For surfing internet they have to log in first.This log in page is automatically provide by local server.Log in url is like "http://192.168.183.200:8080/alliance/login.do".Other wise sign in into local server you can not surf internet.
Christian Graus wrote:
It sounds to me like you have no idea what ASP.NET is.
As i know "login.do" is a servlet page.Whole system is worked in between lan computers.I think it can be possible to integrate by asp.net also.
-
tracing indivisual machine by serverhi all; my question is: How can a server trace each machine when they request for accessing some resource(some text pages)?I want to make this system by asp.net. Thanks in advance.
-
How can i extract numeric values from varcharhi; many thanks :) .I can not find any wrong in your function "ReturnNumber". but when i input a varchar, for example 'AA432k', it returns a null value. This is my query:
select dbo.ReturnNumber('AA432k')
or
select dbo.ReturnNumber(varcharcolumn) from test
what is my wrong? snehasish
-
How can i extract numeric values from varcharhi; Many thanks for reply.It must work.But It will be lengthy process as per my application.So if you give any other soln,that will be helpful. Thanks snehasish
-
How can i extract numeric values from varcharhi all; I want to extract only numeric values from a column which have alphanumeric values like ABC12342M , AE2213Jk. Thanks Snehasish
-
Can i insert bulk data to remote sqlserverHi; For some reason i had to go to out of station.According to your suggestion i have solved this.I think you are great.All of your given possible soln is very good.Thank you again.Thanks a lot. :) :-D :) :-D this is my code in vb.net:
Dim ds As New DataSet
ds.ReadXml("http://www.myweb.com/abc.xml")
Dim doc As New XmlDataDocument(ds)
Dim con As New SqlConnection("Server=x.x.x.x;Database=celtic;User ID=xxxx;Password=xxxx;Trusted_Connection=False")
Dim com As New SqlCommand("sp_InsertXmlData", con)
com.CommandType = CommandType.StoredProcedure
com.Parameters.Add("@XMLDOC", SqlDbType.Text).Value = doc.OuterXml
con.Open()
Dim i As Integer = com.ExecuteNonQuery()
con.Close()This is stored procedure:
Create PROCEDURE [dbo].[sp_InsertXmlData]
@XMLDOC text
AS
BEGIN
insert into xml_properties(xmldoc)
values(@XMLDOC)
ENDsnehasish