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

Re: XML syntax for XPath?

  • From: Paul Tchistopolskii <paul@q...>
  • To: xml-dev@l...
  • Date: Tue, 26 Dec 2000 13:47:20 -0800

writing assembly program

----- Original Message ----- 
From: Michael Smith <smith@x...>

>   While the up-translation of XPath to an XML syntax can be undertaken
>   by individuals in an ad hoc way, and suited only to their own
>   purposes, I believe that it would benefit the XML-using community at
>   large if there was an officially sanctioned way to describe XPath
>   expressions in an XML instance syntax. The use of such a syntax
>   would be optional, just as the use of the full or abbreviated syntax
>   is a matter of choice.

I'l be very glad to see a particular usecase that will  require 
XML-ization of Xpath. 

I do understand the hypothetical need for XML-ization of Xpath 
( " if Xpath part of XSL will be XML-ish, that will allow me to 
transform Xpath expressions with XSL " ).

However, I don't understand why in particular somebody will 
like to transform Xpath expressions with XSL. 

My opinion on XSLT is that XSLT is like assembly language.
Writing assembly program to modify another assembly program
looks like a very strange technology to me. Yes, it is possible 
to do that, but maybe there are some better ways to do the same ?

For example, saxon:evaluate allows writing mutable stylesheets, 
avoiding the need of XSL-generating-XSL. 

My favorite example is XSL-grep. I've wrote it with XSL-generating-XSL
and then I've wrote it with saxon:evaluate. I found saxon:evaluate way 
to be much better.

However, I think that maybe I'm missing something and there *are* 
some things that are better to  be done with XSL-generating-XSL.

I'm constantly asking for particular example, but I have no luck yet.
I'll be very glad to see a particular usecase that requires XML-ization 
of Xpath.

Because I already wrote some Xpath compiler, I think that it will take 
me not more than a few days  to turn that Xpath compiler into 
Xpath->XML layer pluggable into any existing XSLT engine written 
in Java.  I just don't see a point why should it be done ....

What I'm missing ?

Rgds.Paul.



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.