Feature request: support 'output method="text"' for XSLT transform

5 views
Skip to first unread message

richard

unread,
Nov 20, 2009, 1:05:06 AM11/20/09
to nokogiri-talk
Because XSLT transform methods only return serialized documents,
'output method="text"' is ignored and using "disable-output-escaping"
has odd effects (new lines get inserted on all the text nodes).
Would it be possible to support text output as well as XML/HTML output
from transforms? This isn't a big issue because it is fairly easy to
work around it by removing XML declaration and manually unescaping
escaped characters, but it would I think be a useful feature.
thanks!
Richard

Aaron Patterson

unread,
Nov 23, 2009, 11:40:38 AM11/23/09
to nokogi...@googlegroups.com
I'm not sure how I would implement this (yet), but I'm not opposed to
it. Would you mind filing a ticket in the tracker so that it doesn't
get lost?

https://github.com/tenderlove/nokogiri/issues

--
Aaron Patterson
http://tenderlovemaking.com/
Reply all
Reply to author
Forward
0 new messages