This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Confused about "/.." pattern


"paul morgan" <pmorg at lycos dot com> wrote:

> I'm a little confused about the interpretation of the pattern, "/.." 
> My feeble knowledge of XSLT would parse this as the parent of the 
> root, but that doesn't make any sense to me.  Any help on what I'm 
> missing would be appreciated.

Hi Paul,

The "/.." XPath expression is usuallu used to specify a default value
for a xsl:param, so that the XSLT processor will know it is of type
node-set and will not raise any error message when this xsl:param is
used as a node-set.

Otherwise, "/.." is a perfectly valid XPath expression and its value is
the "empty nodeset".

BTW, did you receive the working with XALAN solution to your problem,
which I sent to you yesterday? It was not working before, because I was
using other XSLT processors, that treated RTFs in a non-conformant way.

Cheers,
Dimitre Novatchev.





__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]