[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Cowan <johnwcowan@g...>
  • To: Brian Aberle <xmlboss@l...>
  • Date: Mon, 31 Mar 2014 10:13:18 -0400



On Mon, Mar 31, 2014 at 6:02 AM, Brian Aberle <xmlboss@l...> wrote:

Can PI's be scoped inside an element? 

Indeed they can.  But I think what you really want is a PI containing the OID to be placed *before* the element.  Doing it that way means that you will have the OID available before you even begin to parse the start-tag.  That seems to me to be better than having it as the first attribute.

Fortunately, that can always be done: you can have a PI anywhere except inside another PI, a tag, an entity reference, a CDATA section, or a comment.

--
It was impossible to inveigle
Georg Wilhelm Friedrich Hegel
Into offering the slightest apology
For his Phenomenology.                      --W. H. Auden, from "People" (1953)



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member