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

RE: writing a plugin to access xsl files

Subject: RE: writing a plugin to access xsl files
From: Rahil Qamar <qamar_rahil@xxxxxxxxxxx>
Date: Mon, 27 Jun 2005 18:25:45 +0100 (BST)
writing xsl files
Thanks a lot for your help.

Will have a look at all the possibilities.

Thanks
Rahil

--- Michael Kay <mike@xxxxxxxxxxxx> wrote:

> The usual approach is to set the output destination
> using the JAXP API, by
> defining a StreamResult associated with a specific
> file. In XSLT 2.0 you can
> also define an output destination using the href
> attribute of
> xsl:result-document.
> 
> Michael Kay
> http://www.saxonica.com/
> 
> > -----Original Message-----
> > From: Rahil Qamar [mailto:qamar_rahil@xxxxxxxxxxx]
> 
> > Sent: 27 June 2005 17:44
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: RE:  writing a plugin to access xsl
> files
> > 
> > Thanks a lot. That seems like enough information
> to
> > start of with.
> > 
> > Is it possible to answer my second query as well
> > please viz.
> > 
> > (2) Also how can I pre-assign the file name to
> which
> > the output should be written to instead of the
> usual
> > <xsl:output method="html"/> or <xsl:output
> > method="xml"/> , say I want the output to be
> written
> > to output.html ?
> > 
> > I dont want any specific file name which will need
> > encoding within the code. A pre-assigned file name
> at
> > the start of the file will do.
> > 
> > Thanks
> > Rahil
> > 
> > --- Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > 
> > > You need to read up on the JAXP transformation
> > > interfaces: see
> > > javax.xml.transform.TransformerFactory in your
> JDK
> > > javadoc documentation.
> > > Specific details for invoking Saxon are at
> > >
> >
>
http://www.saxonica.com/documentation/using-xsl/embedding.html
> > > 
> > > If you prefer to learn from examples, see the
> > > TraxExamples.java program in
> > > the samples/java directory.
> > > 
> > > Information about the JAR files needed is at
> > >
> >
>
http://www.saxonica.com/documentation/index/installation.html
> > > 
> > > It's a good idea to put something like
> > > 
> > > <xsl:comment>XSLT Processor: <xsl:value-of
> > >
> >
>
select="system-property('xsl:vendor')"/></xsl:comment>
> > > 
> > > just to make sure you really are running Saxon
> and
> > > not some other XSLT
> > > processor.
> > > 
> > > Michael Kay
> > > http://www.saxonica.com/ 
> > >  
> > > 
> > > > -----Original Message-----
> > > > From: Rahil [mailto:qamar_rahil@xxxxxxxxxxx] 
> > > > Sent: 27 June 2005 17:20
> > > > To: XSL List
> > > > Subject:  writing a plugin to access xsl
> > > files
> > > > 
> > > > Hi
> > > > 
> > > > I have two queries.
> > > > 
> > > > (1) I have been using an XSL Editor for
> developing
> > > my code 
> > > > all along but 
> > > > would now like to write a Java GUI which will
> > > invoke a call 
> > > > to the XSL 
> > > > files. I have been using Saxon 8.1.1. Could
> > > someone please 
> > > > either let me 
> > > > know which .jar files Ill require and how Ill
> need
> > > to set my 
> > > > plugin or 
> > > > point me to some existing resources that talk
> > > about this ?
> > > > 
> > > > (2) Also how can I pre-assign the file name to
> > > which the 
> > > > output should 
> > > > be written to instead of the usual <xsl:output
> > > method="html"/> or 
> > > > <xsl:output method="xml"/> ?
> > > > 
> > > > 
> > > > Thanks a lot
> > > > Rahil
> > > 
> > > 
> > 
> > 
> > 
> > 		
> >
>
___________________________________________________________
> 
> > How much free photo storage do you get? Store your
> holiday 
> > snaps for FREE with Yahoo! Photos
> http://uk.photos.yahoo.com
> 
> 



		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

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.