Closed GoogleCodeExporter closed 9 years ago
in addition, writing the stylesheet-reference directly to the stream also
returns an
empty string:
output_stream << *style << std::endl;
the resulting string only contains the newline-character
Original comment by shoefat...@gmail.com
on 16 May 2009 at 9:49
I have looked into the code, and the function TiXmlPrinter::Visit is missing
for a
TiXmlStylesheetReference. After adding this, writing an xml to a stringstream,
works
like expected.
bool TiXmlPrinter::Visit( const TiXmlStylesheetReference& stylesheet )
{
DoIndent();
stylesheet.Print( 0, 0, &buffer );
DoLineBreak();
return true;
}
Original comment by shoefat...@gmail.com
on 16 May 2009 at 10:15
Fixed in svn revision 106
Original comment by rpusz...@gmail.com
on 16 May 2009 at 7:58
Original issue reported on code.google.com by
shoefat...@gmail.com
on 16 May 2009 at 8:30