W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > September 2008

Re: How to use p:compare

From: Jeni Tennison <jeni@jenitennison.com>
Date: Thu, 18 Sep 2008 20:41:13 +0100
Cc: public-xml-processing-model-wg@w3.org
Message-Id: <31272D0D-8A39-4951-9832-2F0648844CF6@jenitennison.com>
To: Norman Walsh <ndw@nwalsh.com>

Norm,

On 18 Sep 2008, at 20:26, Norman Walsh wrote:
> What's the easiest way to write a step that compares two documents and
> returns one of them if they're the same? If they're different, it
> throws an error


Two questions: What do you mean by "the same"? Are you using XPath 2.0?

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com
Received on Thursday, 18 September 2008 19:41:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 18 September 2008 19:41:49 GMT