<html>
<body>
Michael,<br><br>
Thanks for your answer. I think I do understand about the xml declaration
and it can be added when serialized in JDOM using the XMLOutputter
class.<br>
I think my problem comes down to the question;<br><br>
Do I really serialize the xml when doing a XSLT tranformation?<br><br>
Thanks <br>
Rodrigo<br><br>
At 16:55 20/06/2005, you wrote:<br>
<blockquote type=cite class=cite cite=""><font face="arial" size=2 color="#0000FF">The
XML declaration isn't a node in the tree model. It's something you can
possibly cause to be added when the document is serialized - but I don't
know enough about JDOM's serializer to be sure.<br>
</font>&nbsp;<br>
<font face="arial" size=2 color="#0000FF">Michael Kay<br>
<a href="http://www.saxonica.com/">http://www.saxonica.com/</a><br>
</font><br>

<dl><hr>

<dd><font face="tahoma" size=2>From:</b> Rodrigo Alvarez
[<a href="mailto:ralvarez@dybox.cl" eudora="autourl">mailto:ralvarez@dybox.cl</a>]
<br>

<dd>Sent:</b> 20 June 2005 21:10<br>

<dd>To:</b> Michael Kay<br>

<dd>Cc:</b> jdom-interest@jdom.org<br>

<dd>Subject:</b> RE: [jdom-interest] PI problem<br>
</font><br>

<dd>Thanks Kay,<br><br>

<dd>But I still have the same problem. How do I include the XML
Declaration into my JDOM document.<br><br>

<dd>Regards,<br>

<dd>/Rodrigo<br><br>

<dd>At 15:27 20/06/2005, you wrote:<br><br>
<blockquote type=cite class=cite cite="">
<dd>I have a problem including a process instruction. I want to include
the following PI<br><br>

<dl>
<dd><pre>&lt;?xml encoding='EUC-JP'?&gt;



<dd><font face="arial" size=2 color="#0000FF">&nbsp;</font></pre><font face="Courier New, Courier"></font><br><br>

<dd><pre><font face="arial" size=2 color="#0000FF">This isn't a

<dd>processing instruction. It is an XML declaration. They use the same

<dd>syntax, but a processing instruction can never be named

<dd>&quot;xml&quot;.</font></pre><font face="Courier New, Courier"></font><br><br>

<dd><pre>Michael Kay
</pre><font face="Courier New, Courier"></font></blockquote>
</dl>
<dd><font size=4><b>Rodrigo Alvarez Reygadas<br>
</font>
<dd><i>Director de Innovación Tecnológica<br>
</i>
<dd>D<font color="#FF0000">y</font>BOX</b> <i>Consulting and
Development<br>
</i>
<dd><font color="#808080">---------------------------------<br>

<dd>Oracle Certified Partner<br>

<dd>---------------------------------<br><br>
</font>
<dd><font face="Arial Narrow, Helvetica"><i>Avda. Providencia 2653
Of.1701 Piso 17<br>

<dd>Providencia, Santiago, Chile.<br>

<dd>(562) 333 1121<br>
</i></font></blockquote>
<x-sigsep><p></x-sigsep>

</dl><font size=4><b>Rodrigo Alvarez Reygadas<br>
</font><i>Director de Innovación Tecnológica<br>
</i>D<font color="#FF0000">y</font>BOX</b> <i>Consulting and
Development<br>
</i><font color="#808080">---------------------------------<br>
Oracle Certified Partner<br>
---------------------------------<br><br>
</font><font face="Arial Narrow, Helvetica"><i>Avda. Providencia 2653
Of.1701 Piso 17<br>
Providencia, Santiago, Chile.<br>
(562) 333 1121<br><br>
</font></i></body>
</html>