I am not sure I really understand the question. $twig->safe_parse($str) is a twig object, not a string. If you want a string (the xml for the document in the twig) then you need $twig->sprint. Does this answer your question?
In reply to Re: question in Xml::Twig
by mirod
in thread question in Xml::Twig
by anniyan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |