Michael Ludwig <mil...@gmx.de> wrote on 11/24/2009 12:20:15 PM:

> Michael Glavassevich schrieb am 24.11.2009 um 12:02:29 (-0500):
> >
> > A DOCTYPE can be specified programmatically [1][2][3], so you don't
> > need to write a stylesheet.
>
> True, thanks. But I assumed the OP had already written one, as he wrote:
>
> > > > > I use the usual TraX call. No doctype lands in the output. I'm
> > > > > very carefully using Xerces for the DOM and Xalan for TraX.
>
> I might be wrong, but the first of the three references you gave is
> probably not related to specifying the DOCTYPE.

Good catch. I meant to post a link to setOutputProperty():

http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/transform/Transformer.html#setOutputProperty
(java.lang.String,%20java.lang.String)

> > [1] http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/
> transform/Transformer.html#setParameter
(java.lang.String,%20java.lang.Object)
>
> Best,
>
> --
> Michael Ludwig
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
> For additional commands, e-mail: j-users-h...@xerces.apache.org

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org

Reply via email to