Subject: Re: 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:
<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
|