User Profile

Collapse

Profile Sidebar

Collapse
chandrashekhar maral
chandrashekhar maral
Last Activity: Jun 2 '07, 10:24 AM
Joined: Apr 4 '07
Location: pune
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • chandrashekhar maral
    started a topic Usage of 'starts-with' in XPath.
    in XML

    Usage of 'starts-with' in XPath.

    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.
    See more | Go to post

  • 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.
    See more | Go to post

    Leave a comment:


  • 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. :)
    thanx
    See more | Go to post

    Leave 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.
    See more | Go to post

    Leave a comment:


  • chandrashekhar maral
    started a topic Dynamic addition of new nodes/attrubute
    in XML

    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
    See more | Go to post

  • chandrashekhar maral
    started a topic Dynamic Xml writing(Javascript)

    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....
    See more | Go to post

  • hi,
    on which platform ur doing??
    In Ajax i got it but with xml -Xsl file if u want just reply/mail me....
    See more | Go to post

    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.
    See more | Go to post

  • chandrashekhar maral
    replied to Xpath In Javascript
    in XML
    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...
    See more | Go to post

    Leave a comment:


  • chandrashekhar maral
    started a topic replace in javascript.....

    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...
    See more | Go to post

  • chandrashekhar maral
    replied to Xpath In Javascript
    in XML
    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 buddy
    See more | Go to post

    Leave a comment:


  • chandrashekhar maral
    replied to Xpath In Javascript
    in XML
    WOW! you are fast. okay - i will test and revert
    See more | Go to post

    Leave a comment:


  • chandrashekhar maral
    replied to Xpath In Javascript
    in XML
    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...
    See more | Go to post

    Leave a comment:


  • chandrashekhar maral
    replied to Xpath In Javascript
    in XML
    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...
    See more | Go to post

    Leave a comment:


  • chandrashekhar maral
    replied to Xpath In Javascript
    in XML
    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);...
    See more | Go to post

    Leave a comment:


  • chandrashekhar maral
    replied to Xpath In Javascript
    in XML
    m using JAVASCRIPT to parse the xml..
    pls reply me....
    thnx for reply...
    See more | Go to post

    Leave a comment:


  • chandrashekhar maral
    started a topic filtering table

    filtering table

    hi all,
    can anyone tell me how to add filtering table dynamicaly in DOJO
    plssssssssss
    See more | Go to post

  • chandrashekhar maral
    started a topic Xpath In Javascript
    in XML

    Xpath In Javascript

    hi all,
    im using xml file its structure is lik>>
    <data>
    <book>
    <title> </title>
    <pages> </pages>
    <isbn> </isbn>

    </book>
    </data>
    -------------------------------------------------------------------------------------------------------------...
    See more | Go to post
No activity results to display
Show More
Working...