Guest User

Untitled

a guest
May 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <question>
  2. <type_elt>
  3. <opt_out_flag />
  4. </type_elt>
  5. </question>
  6.  
  7. if (xml.*.opt_out_flag) {
  8. do_something();
  9. }
  10.  
  11. xml..opt_out_flag
  12.  
  13. if( "opt_out_flag" in xml.children()[0] ) {
  14. doSomething();
  15. }
  16.  
  17. var optOutNodes:XMLList = xml.descendants("opt_out_flag");
  18.  
  19. if(optOutNodes.length())
  20. {
  21. //do code here
  22. }
  23.  
  24. var optOut:Boolean = xml..opt_out_flag != undefined
Add Comment
Please, Sign In to add comment