This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Java Extension returning <>
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 4 Apr 2002 17:49:58 -0500
- Subject: Re: [xsl] Java Extension returning <>
- References: <2BE2749CDC8FC748B83D9465B48EA7AF471361@exchange.elogex.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
[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:
<sender='A' receiver='B'>
So I changed my method to return as: <sender='A' receiver='B'>
In this case it produces final XML as:
&lt;sender='A'
receiver='B'&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