Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How Do I Pass a Parameter from a Java Program to an XSL Stylesheet?

0
Posted

How Do I Pass a Parameter from a Java Program to an XSL Stylesheet?

0

Is there a way to pass a parameter from a Java program to an XSLT stylesheet using Oracle XSL processor? The XSLT standard states that “…XSLT does not define the mechanism by which parameters arepassed to the stylesheet.” (see http://www.w3.org/TR/xslt#variable-values). This is possible, but is a vendor-dependant implementation. However, none of the XSL constructors in the OracleXSLprocessor seems to allow for this. We need to pass in an integer to a stylesheet and use the xsl:position() function to extract a document fragmentfrom an XML doc.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123