This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Java Extension returning <>


[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]