Package DE_EPAGES::XML::API::Tidy
@EXPORT_OK |
Functions
tidy
Beautifies an XML string by indenting elements for improved readability. Returns the original value of $InStr if it does not contain valid XML.
Syntax |
$OutStr = tidy( $InStr ); |
Example |
print tidy( '<html><head><title>Test</title></head></html>' ); |
Input |
|
Return |
|