Re: Parsing HTML

/ Alex Milowski <alex@milowski.org> was heard to say:
| We already have this issue for p:load and the 'validate' option.  If you don't
| support validation, you get a dynamic error.  Given your preference, we
| should change that as well.

Yes, I'm not sure I like that idea. I don't see why the load function
should not support validation.

|> For file: URIs, I don't think p:load can be relied up on to give you a
|> media type.
|
| Right.  Maybe p:load just fails if it isn't XML and you should use
| the p:http-request + "parse html" step sequence instead.

How do you get p:http-request to load a file: URI?

I suppose a simple GET would do that...

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Where are you dying tonight?--Evelyn
http://nwalsh.com/            | Waugh

Received on Wednesday, 23 May 2007 15:00:22 UTC