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

Re: Even if you're not ... was If you're going to the W3C meet


kurt script
* Kurt Cagle <kurt.cagle@g...> [2005-01-28 14:17]:
> > But I do agree. I, as participant of the KDE project, think I see a general
> > resistance and misunderstanding towards XML. When an XML document needs a
> > small, automated correction it's not written as an XSLT identity transform,
> > but as a text-parsing Perl script, obviously horrible. 
> 
> Ouch. I've actually started doing something with XUL - bundling small
> (helper) XSLT classes in with the XUL code then putting a functional
> invocation on the transforms, in essence calling them as functions. In
> addition to simplifying a lot of the XML transactions that I work
> with, I find that it helps the XSLT newbies on my team get a better
> handle that XSLT really is just another computer language, one that
> can in fact be used in precisely the same manner as any other
> language.

    XSLT is really just another computer langauge, and I'm using it
    now to generate Ant scripts, and also to generate JUnit test
    cases. But, I'm running into a problem...

    How does one design in XSLT for extensibility? I know how to
    design an XML API, but not on in XSLT.

    I'm not sure how to ask the question. Let's say you have a file
    that's a project.

    <project>
      <source>
        <name>main</name>
        <dir>src/main</dir>
        <category>dist</category>
      </source>
    </project>

    Project directory:
      
      /project
          /src
              /java
              /resource

    Use the above to generate an Ant script. I run a transform and I
    have javac, junit, javadoc, jar, svn, and distrubute tasks.

    How do I allow a user to plug in a new set of tasks to generate?

    This is a general problem I'm having, how do you create hooks,
    callbacks, er, how do you create an XSLT framework? 

--
Alan Gutierrez - alan@e...

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.