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

[Saxon-SA] SAX filter for stylesheet

Subject: [Saxon-SA] SAX filter for stylesheet
From: Justin Johansson <procode@xxxxxxxxxx>
Date: Thu, 19 Jul 2007 21:29:42 +0900
 [Saxon-SA] SAX filter for stylesheet
Two questions if I may please ask the list.

1.  If one wants to implement a SAX filter to intercept parsing of a
stylesheet (using Saxon -y option)
what is the best/easiest Java class to inherit from.  I am wanting to fake
source file name and line numbers
for higher level XSLT to native XSLT translator so that error messages get
reported correctly back to the 
original source.  (Trust that makes sense .. YACC people known what I
mean).  Michael Kay has given some
intial ideas in this direction.

2. Using Eclipse 3.3 and Ant, my way of doing XSLT has been something like
this in my Ant build:

  <target name="trax">

    <!-- trax test -->
    <xslt processor="trax"
          basedir="./input/"
          destdir="./output/"
          extension=".xsl"
          style="./xsl/compilers/high-to-low-xsl.xsl">
    </xslt>

  </target>

Since upgrading to Saxon-SA I would like the Ant trax processor to
recognize specific arguments to be presented to
Saxon-SA.  How do I do this?  Rationale for question: want to use Saxon-SA
-y command line option.

Bests to all,

Justin Johansson
Freelance XML / XSLT / XQuery Developer

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.