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

Re: Using XInclude


xpath xinclude
* Uche Ogbuji <Uche.Ogbuji@f...> [2005-04-29 15:40]:
> On Thu, 2005-04-28 at 13:21 -0400, Alan Gutierrez wrote:
> >     I've implemented a simple Include engine for my pipeline
> >     framework that will optionally take an XPath query as a URI
> >     fragment, it seems to do everything I want.
> > 
> >     Wondering who uses XInclude and where?
> 
> I use XInclude *heavily* as a means to write articles about XML.  I
> usually write listings as external files, for easy testing, and then I
> use <xi:include parse="text"... to bring it seamlessy into the article
> for sending to the editor.  All escaping and encoding issues are pretty
> much taken care of.  Very handy.
> 
> I use the XInclude implementation in 4Suite, part of which I wrote.
> 
> > Has anyone implemented
> >     the full xpointer scheme?
> 
> We sure the heck haven't.  Madness...
> 
> > I read over XInclude and didn't see
> >     why I needed the "point" concept, but I didn't read it too hard.
> 
> points and ranges are really for use in Web browsers and other such
> interactive UIs.  They are useless for offline-type use.  I and others
> complained early on that they should be removed from the XPointer core
> and moved to a user agent module of some sort.  Oh well.

    Thank you. This is the explaination I was looking for.
    
    It does seem like the xpointer scheme was doing text selections,
    and I couldn't figure out how that could be used practically,
    especially from my XSLT-centric point of view. I can see how it
    could be used to reference text selected in a UI, but that
    strikes me as a very fragile pointer. 

    Did you implement anything beyond the a xpath statement of the
    xpointer scheme? I figure that the following would be plenty
    good enough:
    
    - xmlns
    - element
    - xpointer(<xpath statement>)

    Since the above could be implemented without having to hack into
    an XPath implementation.

    Cheers.

--
Alan Gutierrez - alan@e...
    - http://engrm.com/blogometer/index.html
    - http://engrm.com/blogometer/rss.2.0.xml

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.