Re: [xsl] XPath 2.0 Best Practice: wrap the first node of every path expression within schema-element?

Subject: Re: [xsl] XPath 2.0 Best Practice: wrap the first node of every path expression within schema-element?
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Fri, 21 Mar 2008 22:53:19 +0530
Hi Roger,
  I agree to all the advantages. Please see my opinion to other points below.

On Fri, Mar 21, 2008 at 9:44 PM, Costello, Roger L. <costello@xxxxxxxxx> wrote:
>  Are there disadvantages?

Overhead or complexity of maintaining the Schema information, and the
overhead of validation of input document. But this is true for every
Schema aware stylesheet. But IMHO, advantages of Schema awareness far
outweigh the disadvantages.

>
>  Are there reasons why you would not want to do this for every path
>  expression?

For the reasons for verbosity.


-- 
Regards,
Mukul Gandhi

Current Thread