[jdom-interest] PI problem

Rodrigo Alvarez ralvarez at dybox.cl
Mon Jun 20 14:13:45 PDT 2005


Michael,

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.
I think my problem comes down to the question;

Do I really serialize the xml when doing a XSLT tranformation?

Thanks
Rodrigo

At 16:55 20/06/2005, you wrote:
>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.
>
>Michael Kay
><http://www.saxonica.com/>http://www.saxonica.com/
>
>
>----------
>From: Rodrigo Alvarez [mailto:ralvarez at dybox.cl]
>Sent: 20 June 2005 21:10
>To: Michael Kay
>Cc: jdom-interest at jdom.org
>Subject: RE: [jdom-interest] PI problem
>
>Thanks Kay,
>
>But I still have the same problem. How do I include the XML Declaration 
>into my JDOM document.
>
>Regards,
>/Rodrigo
>
>At 15:27 20/06/2005, you wrote:
>
>>I have a problem including a process instruction. I want to include the 
>>following PI
>>
>><?xml encoding='EUC-JP'?>
>>
>>
>>
>>
>>
>>This isn't a
>>
>>processing instruction. It is an XML declaration. They use the same
>>
>>syntax, but a processing instruction can never be named
>>
>>"xml".
>>
>>Michael Kay
>Rodrigo Alvarez Reygadas
>Director de Innovación Tecnológica
>DyBOX Consulting and Development
>---------------------------------
>Oracle Certified Partner
>---------------------------------
>
>Avda. Providencia 2653 Of.1701 Piso 17
>Providencia, Santiago, Chile.
>(562) 333 1121

Rodrigo Alvarez Reygadas
Director de Innovación Tecnológica
DyBOX Consulting and Development
---------------------------------
Oracle Certified Partner
---------------------------------

Avda. Providencia 2653 Of.1701 Piso 17
Providencia, Santiago, Chile.
(562) 333 1121

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050620/3082e23d/attachment.htm


More information about the jdom-interest mailing list