in reply to Re^2: how to strip XML into Plain Text file
in thread how to strip XML into Plain Text file

Since we're being pedantic about it, is '>' actually allowed inside attribute values in XML?
  • Comment on Re^3: how to strip XML into Plain Text file

Replies are listed 'Best First'.
Re^4: how to strip XML into Plain Text file
by Aristotle (Chancellor) on Jan 26, 2005 at 15:49 UTC

    Yes. Only < is not.

    Makeshifts last the longest.

Re^4: how to strip XML into Plain Text file
by Fletch (Bishop) on Jan 26, 2005 at 14:35 UTC

    xmllint doesn't gripe about it:

    freebie:~ 677> cat foo.xml + 9:34:27 <?xml version="1.0" encoding="utf8" ?> <testing> <img alt="Next >>" src="../next_button.jpg" /> </testing> freebie:~ 678> xmllint --noout foo.xml + 9:34:29 freebie:~ 679> + 9:34:35