Subject: RE: [xsl] servlet to xsl From: shaik <shaik_xml@xxxxxxxxx> Date: Wed, 12 Jun 2002 20:56:10 -0700 (PDT) |
Hi, Could you please tell me how could i get the set Parameter in .xsl ? In servlet i have written the code as: -------------------- Transformer tf = tfac.newTransformer( new StreamSource(tree_xsl) ); tf.setParameter("xslSpec",strSpec); tf.transform( new DOMSource(tree), new DOMResult(tmpdoc) ); ------------------ and in .xsl file xmlns:java included to use jdk classes in xslt <xsl:template match="rating-and-specifications"> <xsl:value-of select="java:"/> </xsl:template> Is this correct ? In javax.xml.transform.Transformer there is one method getParameter(String). How should i get the set parameter in .xsl ? Thanks Shaik --- "PATEL, DINESH (ISD)" <PATELD@xxxxxxxxxxxxxxx> wrote: > > You can pass values by parameter as strings. > javax.xml.transform.Transform.setParameter(xsl-var-name, > servlet-var-name) > > > > -----Original Message----- > > From: shaik [SMTP:shaik_xml@xxxxxxxxx] > > Sent: Wed 12 June 2002 07:06 > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > Subject: [xsl] servlet to xsl > > > > Hi All, > > > > Is it possible to get the values which are in the > > request object(in Servlet) in XSL ? > > > > Thanks & Regards > > Shaik > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! - Official partner of 2002 FIFA World Cup > > http://fifaworldcup.yahoo.com > > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > > ************ > This email and any accompanying documents are > intended only for the named recipient, are > confidential and may be privileged. If you are not > the intended recipient please notify us immediately > by mailto:admin@xxxxxxxxxxxxxxx and you must not > copy, disclose or otherwise use this message. > Unauthorised use is strictly prohibited and may be > unlawful. The content of this email represents the > view of the individual and not the company. The > company reserves the right to monitor the content of > all emails in accordance with lawful business > practice. > > Whilst attachments are virus checked before > transmission, Britannic Assurance plc does not > accept any liability in respect of any virus which > is not detected. > > Britannic Assurance plc, No.3002 is registered in > England and maintains its registered office at 1 > Wythall Green Way, Wythall, Birmingham B47 6WG. > Telephone: 0870 887 0001 > Fax: 0870 887 0002 > Website: www.britannicassurance.com > > Britannic Assurance plc, Britannic Unit Linked > Assurance Limited, Britannic ISA Managers Limited > and Britannic Unit Trust Managers Limited are > regulated by the Financial Services Authority. Each > of these companies is a member of the Britannic > marketing group which only advises on and sells its > own life assurance, pension, unit trust and ISA > products. > ************ > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] servlet to xsl, PATEL, DINESH (ISD) | Thread | Re: [xsl] servlet to xsl, Jeni Tennison |
RE: [xsl] SSI in XML, Joel Konkle-Parker | Date | Re: [xsl] sorting by position?, Joerg Heinicke |
Month |