Discussion Locked

Controlling the PHP XML parser

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Do you agree with Brian's method for controlling the PHP XML parser with XML processing instructions, as featured in this week's XML newsletter? Share your comments with your peers.

1 reply

by wonsil9

Brian writes:

"XML processing instructions have a special format within the XML document. Here's a familiar processing instruction:

"

Technically, this is called the prolog and is NOT a PI, even though it looks like one. The prolog is defined separately from the PI in the spec.

See http://www.w3.org/TR/REC-xml#sec-prolog-dtd

This discussion is closed to new replies.