Menu

Spliting the values in web harvest xquery

Antony raj
2011-03-14
2012-09-04
  • Antony raj

    Antony raj - 2011-03-14

    can u tell me how to split a string using delimiter for example: inside <xq- expression=""><![CDATA) return <school>

    {data($fulladdress)}

    </school> ]]></xq-expression> here i get fulladdress "india , chennai , 123rd
    street" i want to split this. i tried with xquery function its returning me an
    error

     
  • Antony raj

    Antony raj - 2011-03-14

    can u tell me how to split a string using delimiter

    for example:

    inside <xq-expression><![CDATA)

    return

    <school>

    {data($fulladdress)}

    </school>

    ]]></xq-expression>

    here i get fulladdress "india , chennai , 123rd street"

    i want to split this. i tried with xquery function its returning me an error

     
  • nutcracker

    nutcracker - 2012-08-13

    tokenizer = new StringTokenizer(birthDate.toString(), "./-\");

     

Log in to post a comment.