Mmm. I see the idea behind that, now. I can see the advantage with, say, really large projects especially. (Come to think of it, though, bigname projects like MediaWiki don't use XMLWriter.)
Thanks!
Search found 2 matches
- Mon Aug 20, 2007 7:09 pm
- Forum: PHP - Code
- Topic: XMLWriter or Strings?
- Replies: 5
- Views: 1036
- Mon Aug 20, 2007 2:00 am
- Forum: PHP - Code
- Topic: XMLWriter or Strings?
- Replies: 5
- Views: 1036
XMLWriter or Strings?
For those who may know: Are there any real advantages to using the XMLWriter class for generating XML (specifically XHTML) rather than using strings? That's to say, I'd work with this: <?php // XHTML output test // Using XMLWriter class // 1. Initialize XMLWriter class. $xmlwriter = new XMLWriter();...