----- Original Message -----
From: "Helge Smebye" <helge.smebye@geodata.no>
To: <general@xml.apache.org>
Sent: Friday, May 05, 2000 3:17 AM
Subject: using the java api for creating a XML DOCUMENT
> Please help !
>
> After searching the documentation from sun for a long time I still cant
> figure out how to add
> tags like
>
> <?xml-stylesheet href="recordsets.xsl" type="text/xsl"?>
> <?cocoon-process type="xslt"?>
> <?cocoon-process type="xsp"?>
>
> to my document. How do I do this if I shall use the DOM api from sun ??
Did you try using Document.createProcessingInstruction()? This should work
in any DOM implementation, not just Sun's.
|