So if you're that coder of modest capacity like myself, here's where I got my clues:
- This thread told me that the XmlTextWriter which is part of my Transform class would be ignoring "disable-output-escaping", and that I should write to a stream instead.
- Never having actually done much with streams, I found these utility methods perfect for cut-n-paste MemoryStream-to-string conversion
Job done.
If you happen to be wondering how you can output a CDATA section in your XSLT, I wanted to put that in here too but unsurprisingly Blogger doesn't like that code. I'll see if I can find a way around that. Google "disable-output-escaping CDATA", that should get you somewhere!
No comments:
Post a Comment