W3C home > Mailing lists > Public > xml-editor@w3.org > October to December 2000

Re: XML/XSL Transformations

From: Eve L. Maler <eve.maler@east.sun.com>
Date: Wed, 13 Dec 2000 12:46:12 -0500
Message-Id: <5.0.0.25.2.20001213124523.00a261f0@abnaki.east.sun.com>
To: "Yatin Pattni" <yatin.pattni@db.com>
Cc: xml-editor@w3.org
Yatin-- You may want to check with the xsl-list on this one.  I suspect 
this may be a bug in the XSL engine you're using.  In general, you should 
use this list only for bug reports on the XML specification itself...

         Eve

At 10:27 AM 12/13/00 +0000, Yatin Pattni wrote:

>Hi There,
>
>Thanks again Eve for your previous help......
>
>Do you know if it is possible to perform xsl transformations on an xml 
>document which has an internal DTD declared?  This seems to be a problem 
>as the xsl does not seem to match any template (using xsl:template match) 
>when the xml has an internal DTD.
>
>I am also trying to create some JSP dynamically using xml/xsl.  A problem 
>arises when I set the xsl:output method="html" and then have an xml 
>document which looks something like the following:
>
><table>
>   <tr>
>      <td>
>        <![CDATA[<% if (confo.getNumber("Amount")>1)) 
> out.println(confo.get("Amount"))%>]]>
>      </td>
>    </tr>
></table>
>
>When the output is set to html in the xsl, the result of the 
>transformation is:
>
><table>
>   <tr>
>      <td>
>         &lt;% if (confo.getNumber("Amount")&gt;1)) 
> out.println(confo.get("Amount"))%&gt;
>      </td>
>    </tr>
></table>
>
>This is obviously a problem as the '<' and '>'  entities need to remain in 
>tact.
>However, if the output is set to text in the xsl, I lose all the html 
>markup......
>
>Any ideas would be greatly appreciated.....
>
>Many Thanks
>
>Yatin
>
>
>
>--
>
>This e-mail may contain confidential and/or privileged information. If you 
>are not the intended recipient (or have received this e-mail in error) 
>please notify the sender immediately and destroy this e-mail. Any 
>unauthorised copying, disclosure or distribution of the material in this 
>e-mail is strictly forbidden.

--
Eve Maler                                          +1 781 442 3190
Sun Microsystems XML Technology Center    eve.maler @ east.sun.com
Received on Wednesday, 13 December 2000 15:52:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:31 GMT