I see in the XML :: Twig documentation the parse($text) functions for parsing scalars contain xml text and parsefile($fileName) for reading and parsing XML files. I would like to parse the input stream (file descriptor or possibly STDIN). Still sneaking through the documentation and found nothing. How can I do it?
source share