Hmm, I'm still not sure what you mean when you say you want an XSL output file. I'm going to assume FO, but XSLT is pretty easy to adapt to any kind of output. For this you want to use Xalan (also from Apache) rather than Xerces. If you write an XSLT like this:
<xsl:template match="customer-id"> <fo:block><xsl:value-of select="tablename/fieldname"></fo:block> </xsl:template> you can extract all the "fieldname" text into a new document (in this case, inside XSL-FO "block" tags). ----- Original Message ----- From: "Savita" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 07, 2002 11:39 PM Subject: Re: Transformation of XML file > Hi Scott, > > I have a XML file.with come tags like > <customer_id><tablename><fieldname></fieldname></tablename></customerid> > > Now I have to prepare a xsl file with some select statement like select <xsl > value of: tablename,fieldname >from some table . > > and I have to get a XSL file where all the values will be replaced from the xml > file . > > Is it possible to do this pleas let me know . > > Thanks and Regards > > Savita > > > Scott Vachalek wrote: > > > Can you explain what you are trying to do in a little more detail? XSLT > > converts an XML document into any almost any sort of text, so it's possible, > > but I don't understand exactly what you mean--you want to create a new XSLT > > document, or you want to create a FO file (FO is sometimes also called XSL)? > > > > ----- Original Message ----- > > From: "Savita" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, May 07, 2002 5:08 AM > > Subject: Transformation of XML file > > > > > Hi, > > > > > > Is it possible to transform a xml-file and a xsl file and get the output > > as an > > > xsl file.I am getting output as a document and a string. > > > > > > If it is possible to transform a xml file and a xsl file and get a xsl > > file in > > > output please let me know how to do this . > > > > > > Any help would be highly appreciated. > > > > > > Thanks and Regards > > > > > > Savita. > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
