hi:

Say I have a java object I would like to marshal.  I marshal it fine,
and the xml file contains

<?xml version="1.0"?>
the rest of the serialized object...

I problem I have is that I would like to submit this xml file to a browser
with
an xsl file with this processing instruction (PI):

<?xml-stylesheet href="my.xsl" type="text/xsl" ?>

I tried the following 2 approaches:
a) marshal object, add PI, then none of the xml gets transformed at all
b) add PI, marshal object, then IE handles it OK, but Netscape 6 
    does not because it insists that the first line must be <?xml>

This is no good, so I have to do an XSLT on the server side. 

What I really want is a client side XSLT IF I can get Castor to produce 

<?xml version="1.0"?>
<?xml-stylesheet href="my.xsl" type="text/xsl" ?>
the rest of the serialized object...

Can someone tell me how to do this?

thanks
Stephen Tsun

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to