delete XML node, keep original
        Posted  
        
            by marzsman
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by marzsman
        
        
        
        Published on 2010-05-31T11:04:59Z
        Indexed on 
            2010/05/31
            11:12 UTC
        
        
        Read the original article
        Hit count: 267
        
I need to delete some nodes from an XML variable and I want to keep the original intact.
So I pass the XML to a new variable and delete the nodes from that one but the original changes with it.
Is there a way to protect the XML from the original variable?
© Stack Overflow or respective owner