Hi all,
As it is case-sensitive, how does one use it when providing a type-ahead? For example, in a dropdown combo box a user may type 'a' or 'A' while intending to type 'Alaska' or may also do 'aLa'. Suggestions welcome.
And thanks for the earlier replies.
User Profile
Collapse
-
Usage of 'starts-with' in XPath.
-
thanks a lot,
but i think what ur suggesting is totally logical Xml writing N i want Physical xml writing.As i want to write Xml on my Local system is it possible????
even if it is possible by any way pls let me know then .
Thanks a lot. -
So as to not confuse you. let me put it simply.
I need a simple JavaScript which can create or allow me to edit a text or doc file.
I intend to use it to insert text into .txt file or an .xml file. :)
thanxLeave a comment:
-
thanks a lot,
but the issue is ,it doesnt write into xml file physically its an logical one.
Explanation::>
when i run a program in which i m creating a node N writing nodes in to a xml file.
but i didnt found the nodes added, which r created by the programme in real XML File....
so what is the issue pls tell me.
thnks a lot for response.Leave a comment:
-
Dynamic addition of new nodes/attrubute
hi all thnks for my earlier responses......
my Q is>>>
can we r able to write the xml file dynamicly in JAVASCRIPT....?
if yes how?
also how to add an xml nodes N values of them in xml file but in the Dynamicly
pls give me reply im just waiting for ur reply guys....
thanks again
byeeeeee -
Dynamic Xml writing(Javascript)
hi all,
N verymuch thankful for all the answers given by u all.thnks a lot.
a new Q now
[B]is it possible to add an node to Xml file dynamically.? if yes how?(in Javascript only)[/B]
explanation::
i have an xml file where i want to add some records but with dynamicaly
so what to do ???
thanx again for the earlier reolies thnx a lot.
all the helpful answers r welcome.... -
hi,
on which platform ur doing??
In Ajax i got it but with xml -Xsl file if u want just reply/mail me....Leave a comment:
-
What does strictly ( === ) equal to mean?
hi all,
wht is the meaning of === sign ???is this mean equal or substring type??
pls tell me ....
thanx a lot for ur co-operation. -
hi and very much thanku for the all answers.....
here again now...
im using the xpath,where i want to selectthe book whose title is "indian".
so i tried this one...
var xmlNodeList = xmlDoc.selectNo des("//Book[starts-with(Title,'Ind ian')]");
alert(xmlNodeLi st.item(idx).se lectSingleNode( "Pages").te xt);
but its not working why???
thnx again for reply...
Take...Leave a comment:
-
replace in javascript.....
hi all,
i got a problem in replace function....
i want to replace "."(dot),sp ace,-(hyphen) with nothing..
i m able do it for space and hyphen but not for dot(.),why??
can anybody gives me solution for this...
what i used is
str="abc.xyz";
str=str.replace (/./,"");
its not showing any thing only showing "error on page";
pls help me out... -
excellent....
thanx dorinbogdan's
its working now in my code i think i had mistake with declration gud no...
thnx again & sorry for disturbance & als for so late reply...
can u tell me other functions/xpath used with this one...
or from whr did i get all the xquery or xpath functions......
pls tell me....
thnx buddyLeave a comment:
-
-
Hi dorinbogdan,
Firstly thank you for all your help and being so patient with me.
Unfortunately both the code fragments did not yield the desired result... so i am taking the liberty of troubling you once again.
Lets look at it from start..
I have a XML file... its goes like this: (10-11 records here.)
[html]<?xml version="1.0" ?>
<data>
<Book>
<Title>Harry...Leave a comment:
-
thnxs for the response.....
now
1>im using Javascript..... .
2.>no DB as such i only want to use records which r in the xml.(for structure of xml pls see above)..
3.>now if i want to read the records from xml w/o XSLT with pages of books >30 then wht to do knw...
i used above code bt it soesnt seem to work nicely.....
can u get ....
pls tell me im just stuck ,due to which my headache started...Leave a comment:
-
var xmlDoc=new ActiveXObject(" Microsoft.XMLDO M");
xmlDoc.async="f alse";
xmlDoc.load("na meoffilel");
var oXMLNodeList = xmlDoc.selectNo des("//Book/Pages[<30]");
//alert(oXMLNodeL ist);
document.write( "hello"+oXMLNod eList);...Leave a comment:
-
m using JAVASCRIPT to parse the xml..
pls reply me....
thnx for reply...Leave a comment:
-
filtering table
hi all,
can anyone tell me how to add filtering table dynamicaly in DOJO
plssssssssss -
Xpath In Javascript
hi all,
im using xml file its structure is lik>>
<data>
<book>
<title> </title>
<pages> </pages>
<isbn> </isbn>
</book>
</data>
-------------------------------------------------------------------------------------------------------------...
No activity results to display
Show More
Leave a comment: