A processing instruction can be anywhere in a document. e.g. this document
is valid...

<?pi first='true'?>
<root>
Hello he <?middle value='something'?> said.

<!-- This is a comment -->
<a href="http://dom4j.org";>The dom4j home page.</a>
More text!
</root>
<?pi last='true'?>

James
----- Original Message -----
From: "Christian Holmqvist, IT, Posten" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 3:27 PM
Subject: [dom4j-user] Processinstructions placement bug?


> Hi!
>
> I might be off because I don't know the XML standard good enogh but if I
add
> a processinstruction to the document I would imagine that it should be
> placed between the <xml tag and the root element.
>
> I can't find any specifics about this in the standard, but all example
> document I have and my reference book always place it there.
>
> Is this a bug or ??
>
> Cheers Christian
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> dom4j-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dom4j-user
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to