White space  XML Query Language

Chapter 3: XML Language and XML Query Language

Empty elements

Empty elements that are entered in the style "<a/>" are stored and returned in the style "<a></a>":

select xmlextract("/",
       "<doc><a/> <b></b></doc>")
-----------------------------------------
         <doc>
         <a></a>        
         <b></b></doc> 




Copyright © 2005. Sybase Inc. All rights reserved. XML Query Language

View this book as PDF