How do you add sample xml to asdoc function/class comments in Flex? They can obviously be added, but they wont show in the hover asdoc comments in Flash Builder 4.
/**
* Generates a ChangeAccount in xml format when they are being saved
*
* <p>Will be in the following form
* Use http://xmlindent.com/ to view pretty xml format)
*
* <ChangeAccount History="w" Alias="trans开发者_JAVA技巧action".............
* </p>
*
* @return XML
*/
public function get xml():XML
{
}
Escape the '<' and '>' with & lt; and & gt; ( Note: remove the spaces )
& lt;ChangeAccount History="w" Alias="transaction"............. /& gt;
精彩评论