Skip to content

Commit

Permalink
better to_xml example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 29, 2012
1 parent f50d292 commit b5b0b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/DOM.pm
Expand Up @@ -701,8 +701,8 @@ is enabled by default.
Render DOM to XML.
# "<b>test</b>"
$dom->parse('<div><b>test</b></div>')->div->b->to_xml;
# "<div><b>test</b></div>"
$dom->parse('<div><b>test</b></div>')->div->to_xml;
=head2 C<tree>
Expand Down

0 comments on commit b5b0b83

Please sign in to comment.