XQuery language help - CAST a element

Discussion in 'XML' started by paul.rusu@gmail.com, Dec 14, 2005.

  1. Guest

    Hi,


    My issue is:
    for $x in ($doc/a|b|c)
    return
    typeswitch ($y) ... case element(a): ................. $y/CertainChild
    - is not recognized. Now how is XQuery supposed to know what type is
    $y.. How do you do
    a cast?


    Paul
     
    , Dec 14, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    370
  2. MSG

    to cast or not to cast malloc ?

    MSG, Feb 6, 2004, in forum: C Programming
    Replies:
    38
    Views:
    1,080
    Dan Pop
    Feb 10, 2004
  3. EvilRix
    Replies:
    8
    Views:
    654
    Martin Dickopp
    Feb 14, 2004
  4. HANM
    Replies:
    2
    Views:
    724
    Joseph Kesselman
    Jan 29, 2008
  5. Szabolcs Borsanyi
    Replies:
    6
    Views:
    666
    Ben Bacarisse
    May 23, 2008
Loading...

Share This Page