Oops, sent the message too quickly =) Here's the first few lines of the file... note how there's no "encoding" attribute in the processing instruction, even though I've used a constructor specifying it. As well, there is no line break after the <!DOCTYPE>.
<?xml version="1.0" standalone="no"?> <!DOCTYPE horizons SYSTEM "etc/horizons.dtd" ><horizons> <legislature country_number="34" year="2002" country_name="United States" seats="100" next_result="17"> <parties> - r At 06:29 AM 1/26/2002, you wrote: >On Thursday, January 24, 2002, at 11:08 PM, Rob S. wrote: > >>Bingo! Thanks a lot Robert! =) >> >>Icing on the cake would be if I could get a carriage return before the >>root element (after the DTD), having already set everything to >>prettyPrint. I can live with that because it's just an aesthetic issue, >>thankfully ;) > >i've taken a quick look but i can't find an obvious easy fix. pretty print >formatting is controlled by the parent not the child so it'd be useful if >you could tell me what your particular parent element is or even better >supply a small snippet of code giving me an example of your use of Doctype. > >- robert > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>