Scott Vachalek wrote :
> 
> Does anyone have a snippet of code that will do this and *actually works* on 
either 2.0.0 or 2.0.1?  I'll settle for any way to do it as long as it works.
> 
> This is what I'm trying:
> 
>   Document doc = db.newDocument();
>   doc.appendChild( doc.createProcessingInstruction(
>       "xml-stylesheet", "href=\"" + stylesheet + "\" type=\"text/xsl\"" ) );
>   doc.appendChild( doc.createElement( "root" ) );
> 

I tried to do the above in all possible ways but couldn't reproduce 
your problem with both 2.0.0 and 2.0.1. It works perfectly fine. 

Any further info like stack trace etc. may help in figuring out the problem.

-Pavani

-- 

Pavani Mukthipudi
Sun Microsystems, Inc.

Phone: 080 - 2298989   Extn: 87390


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to