SQL Server Developer Center > SQL Server Forums > SQL Server XML > Collapse Expand XML Nodes/Elements
Ask a questionAsk a question
 

QuestionCollapse Expand XML Nodes/Elements

  • Friday, July 31, 2009 10:26 PMillselah Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi everyone.  I have very minor question but kind of hoping someone knows of a solution.  So when you query an XML data type column, you'll usually get a sort of blue colored link that when clicked, will open the XML in a new window that's in a more readable and formatted version.  I'm basically just looking to see if there's a keyboard shortcut (or hotkey) to quickly collapse/expand the nodes/elements?  I can't seem to find any info on this.  Using the (+) and (-) buttons get very tedious so I'm hoping a hotkey exists for this.  I also sometimes copy XML to a new "Analysis Services XMLA Query" window that also formats the XML to be easily readable but still can't find a way to do this.  If anyone knows, I'd kindly appreciate your response.  Thanks

All Replies

  • Thursday, October 22, 2009 6:55 PMillselah Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi.  It's been a long while since I posted this and hoping someone out there might know if this is possible.