The "&" character has a special meaning in XML and always has to be
escaped to "&".
http://www.w3.org/TR/REC-xml/#dt-chardata

<?xml version="1.0" encoding="UTF-8"?>
<Bar>
 <Item name="File" text="File">
  <Item name="Open" text="O&amp;pen">
   <Item name="ASC" text="ASC" type="RADIO"/>
   <Item name="BIN" text="BIN" type="RADIO"/>
  </Item>
  <!--Item name="Exit" text="Exit" type="SEPARATOR"/ -->
  <Item name="Exit" text="Exit" accelerator="CTRL+X"/>
 </Item>
 <Item name="Help" text="Help">
  <Item name="About" text="About..."/>
 </Item>
</Bar>

Regards,
Edwin
-- 
http://www.edankert.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to