[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] 2.1: Inbuilt equivalent of saxon:discard-document()


Subject: Re: [xsl] 2.1: Inbuilt equivalent of saxon:discard-document()
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Nov 2008 19:09:02 +0000

>>>>> "Vyacheslav" == Vyacheslav Sedov <vyacheslav.sedov@xxxxxxxxx> writes:

    Vyacheslav> most pages in WWW not well-formed XML? Tidy can help -
    Vyacheslav> is here possibility to implement tidy as buillt-in
    Vyacheslav> function to XSLT?

Yes. But it isn't necessary. 
It's neater to have the implementation of doc()/document() invoke
tidy. Either directly, or indirectly via a URI resolver.
-- 
Colin Adams
Preston Lancashire


Current Thread