Re: XSLT enhancement requests

Subject: Re: XSLT enhancement requests
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Thu, 21 Sep 2000 18:31:28 +0100

David Carlisle wrote:
> 
> > how do you, in XSLT, pick up the fact that both elements have, in terms
> > of XML Schema semantics, the same value for their "type" attribute?
> 
> Oh, I see what you mean. Doable, but not particularly beautiful...
> Actually it highlights a possible problem with providing built in
> functions for this, as xpath semantics would be different, if they were
> xpath attributes they would be in different namespaces as the default
> namespace doesnt apply to xpath, so a built in xpath function (which
> would presumably follow xpath semantics) wouldn't necessarily do the
> right thing.
> 
> Here's your example, wrapped into one file for simplicity, and extended
> a bit to test the following stylesheet.
> 
> 
<snip code>

I realised that there would be solutions to it - but thanks for actually
coding it!

Staying on topic, it's the kind of thing that would look good with
function syntax sugar.

Francis.
-- 
Francis Norton.

why not?


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


Current Thread