[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: XPointers to the start and the end of an eleme

Subject: Re: Re: XPointers to the start and the end of an element (not its content)?
From: bitte.um.hilfe@xxxxxxxxxxxxxxxx
Date: Fri, 09 Jun 2006 14:46:50 +0200
Re: Re:  XPointers to the start and the end of an eleme
first of all thanks for all your replies!

> 
> On Friday 09 June 2006 11:51, Colin Paul Adams wrote:
> > >>>>> "Frans" == Frans Englich <frans.englich@xxxxxxxxx> writes:
> >
> >     Frans> I think Mozilla implements it incompletely, and I've
> >
> > That's not XSLT 2.0 then, is it?
> 
> No, it's XPointer support via some homebrewn ECMAScript interface. I found

about mozilla, its funny but I thought the same (incomplete or incorrect implementation) my own...

calling for e.g. /*/div[1]/*[position()=0] for a given DOM holds, but the same with 3 instead of 0 (which should also hold for my DOM) responds with wrong answers

Sorry for asking this question as it already seems to be answered, but is the entire XSL support for Mozilla implmented as ECMAScript interface? Because if it is and it is "homebrewn" as you mentioned, how can someone know on which functionality he can rely on?

> these links in my notes:
> 
> http://xpointerlib.mozdev.org/
> http://xpointerlib.mozdev.org/xpointerGrammar.html
> 
> http://www.mozdev.org/source/browse/xpointerlib/src/idl/nsIXPointerService.idl?rev=1.6&content-type=text/x-cvsweb-markup
> 
> >     Frans> somewhere seen a proprietary implementation listed as
> >     Frans> implementing it. Right, not exactly mainstream..
> >
> >     >> Gestalt has a gexslt:xpath2 scheme, so you could use that to
> >     >> select the nodes you want.
> >
> >     Frans> You should perhaps consider changing that to the
> >     Frans> W3C-registered scheme:
> >
> >     Frans> http://www.w3.org/2005/04/xpointer-schemes/
> >
> > Thanks for that - these schemes are all new to me, apart from element
> > and xmlns.
> >
> > It sounds like exactly the same spec. as mine, so all I have to do is
> > add the namespace.
> 
> Of course, the most perfect would be an overtime deprecation of the custom
> namespace.
> 
> Cheers,
> 
> 		Frans

-- 


"Feel free" b 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.