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

RE: New/old pattern syntax, why can't we have both ?

Subject: RE: New/old pattern syntax, why can't we have both ?
From: "James K. Tauber" <jtauber@xxxxxxxxxxx>
Date: Thu, 20 Aug 1998 00:03:04 +0800
xml pattern syntax
> Is Xpointer intended to solve the problem of patterns?  It
> seems to me that patterns in XSL are much more complex than XPointers.  If
> XPointers could be used then I would very much agree with using them
instead
> of coming up with another syntax.

XPointers can't really be used for XSL and XSL patterns can't really be used
for XLink addressessing --- AS THEY CURRENTLY STAND.

I'm interested in exploring the possibility of expanding both to form a
superset tree addressing language.

What might make this difficult is that:

1. XSL patterns are generally interested in a class of nodes (eg "all the
elements of type 'emph'") whereas XPointers are generally interested in a
specific node.

2. The processing models are likely quite different. XPointers are used to
find nodes in a document whereas with XSL, you start with a node and try to
find the pattern that matches with the greatest specificity.

> If Xpointer is sufficient then much of this goes away because we will
> probably have an Xpointer parser available already (at least when
XPointers
> become widely used). If they are not sufficient, then we should use base
XML
> syntax.

I don't think XPointers are sufficient but I don't think it would take much
to make them so.

James

--
James Tauber / jtauber@xxxxxxxxxxx      http://www.jtauber.com/
Lecturer and Associate Researcher
Electronic Commerce Network             ( http://www.xmlinfo.com/
Curtin Business School                  ( http://www.xmlsoftware.com/
Perth, Western Australia                ( http://www.schema.net/


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


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.