W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > May 2008

p:wrap

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 22 May 2008 13:43:45 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2d4ne5j5a.fsf@nwalsh.com>
Consider:

  <doc>
    <section>...</section>
    <section>...</section>
    <section>
      <section/>
    </section>
  </doc>

If I run <p:wrap match="section" wrap="chap"/> what do I get?

This:

  <doc>
    <chap><section>...</section></chap>
    <chap><section>...</section></chap>
    <chap>
      <section>
        <section/>
      </section>
    </chap>
  </doc>

or this:

  <doc>
    <chap><section>...</section></chap>
    <chap><section>...</section></chap>
    <chap>
      <section>
        <chap>
          <section/>
        </chap>
      </section>
    </chap>
  </doc>


                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Words ought to be a little wild for
http://nwalsh.com/            | they are assaults of thought on the
                              | unthinking.--John Maynard Keynes

Received on Thursday, 22 May 2008 17:44:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 May 2008 17:44:29 GMT