Re: [xsl] Java Extension returning <>

Subject: Re: [xsl] Java Extension returning <>
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Thu, 4 Apr 2002 17:49:58 -0500
[Venkateshwar Bommineni]

 I am using a java class by using XSLT extensions support. This class
basically returns a constructed processing instruction as <?sender='A'
receiver='B'?>

but in the final translated XML document it showed up as:
&lt;sender='A' receiver='B'&gt;
So I changed my method to return as: &lt;sender='A' receiver='B'&gt;
In this case it produces final XML as:
&amp;lt;sender='A'
receiver='B'&amp;gt;
How to solve this issue?

[Tom P]
Have the java extension return the PI contents without the "<?" and "?>".
Use xsl:processing-instruction to create the actual processing instruction.

Tom P


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread