xsl-list
[Top] [All Lists]

Re: top level params and xsl:attribute magic?

2003-01-20 12:39:54
Dimitre,

Just to be crystal clear -- why are you recommending the preceding:: axis here and not preceding-sibling? Won't the latter work as well and be less expensive?

Cheers,
Wendell

At 02:29 AM 1/19/2003, you wrote:
"S Woodside" <sbwoodside(_at_)yahoo(_dot_)com> wrote in message
news:7FCB3007-2B28-11D7-8385-000393414368(_at_)yahoo(_dot_)com(_dot_)(_dot_)(_dot_)
> Thanks, I considered this, but I think that passing the full XPath
> makes debugging easier and will be more robust if I change the source

> XML (it has a chance of still working, instead of being guaranteed
not
> to work.
>

This is not so at all, the

(count(ancestor::node()), count(preceding::node()) )

uid will still identify the same node if the changes in the xml
document were made in the descendants or following nodes of this node....



======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list