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]

Re: XSLT enhancement requests




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

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