my $fragment = $parser->parse_balanced_chunk( '532.00' ); $book->appendChild($fragment);