* Perrin Harkins ([EMAIL PROTECTED]) [011004 01:03]: > > * Jeffrey W. Baker ([EMAIL PROTECTED]) [011003 19:52]: > > > I'd love to hear any other experiences with using the DOM to build > output > > > from scratch. I'd also like to hear people's opinions on XML::DOM (I > > > think it stinks and I've replaced it with a C DOM implementation). > > > > I can't speak to XML::DOM, but I used XMLC in Java to do this and > > there were aspects that were pretty nifty. > > HTML_Tree is like XMLC, but less irritating, i.e. no lame compile cycle to > deal with and somewhat more straightforward. There's also an XML version > here: http://homepage.mac.com/pauljlucas/software/xml_tree/. I prefer a > more traditional templating approach, but some people love this stuff.
Yeah, the compile cycle is irritating, but it allowed you to pick out a particular node via a method without cycling through the whole tree to find it. But I think XPath does the same sort of thing. I prefer the templating approach as well -- I haven't run into many instances where I needed to process something after it's already been generated, although maybe having the capability would open my eyes to such issues :-) Chris -- Chris Winters ([EMAIL PROTECTED]) Building enterprise-capable snack solutions since 1988.