Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: [xml-dev] How to get XPath in a XSLT shylesheet


  • From: Rick Jelliffe <rjelliffe@...>
  • To: xml-dev@...
  • Date: Tue, 09 Jan 2007 20:50:01 +1100

Michael Kay wrote:
> Two criticisms:
> (a) it's not namespace-safe (e.g. comparing name(x)=name(y) is thoroughly
> dubious)
>   
Or is it, in fact, that using different prefixes for the same namespace 
is dubious?  :-)
> (b) It would make more sense to have separate template rules for elements
> and attributes. This will output an attribute as @a[1] which doesn't make
> much sense.
>   
Oh, I'm happy to include any improvements that people want to 
contribute. I thought
the guy wanted some code.

Cheers
Rick


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor