Menu

Update facility in xidel?

Help
Anonymous
2020-05-26
2020-05-28
  • Anonymous

    Anonymous - 2020-05-26

    Using the xquery update facility (as implemented in BaseX, for example), I can do this:

    copy  $target :=
    <my>titles
    <your>
    All Yours
    </your>
    </my>
    
    modify (    
       delete node $target//your,                      
       insert node <mine>All Mine</mine> 
          as last into $target
    )
    return $target
    

    And get this output:

    <my>titles
    <mine>All Mine</mine>
    </my>
    

    Is it possible to something like that with xidel?

     
  • Anonymous

    Anonymous - 2020-05-28

    Got it; thanks.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.