Perfectly clear. And thanks for your responses. Maybe a refinement would be in order /prune-non-material-and-annoying-line-breaks :) Failing that I'll just have to use an if. Brett. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 02, 2000 12:31 AM Subject: [REBOL] XML parser includes line breaks Re:(2) > I know it's bad form to reply to my own post, but I figured there was more > that I could add that would clarify things. > > > > As you can see in Case 1 the parser has picked up the line breaks. Yet I > > > would have thought the XML structures of case 1 and case 2 were > > equivalent. > > In fact the *structure* of the cases *are* the same, as the block structure > of the stuff returned by Rebol's XML parser reflects. What's different is > the *content* in the structures. > > Case 1: > == [document none [["doc" none ["^/ " ["childnode" none none] "^/"]]]] > Case 2: > == [document none [["doc" none [["childnode" none none]]]]] > > Hope this helps. > > Keith >
