W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2010

Re: 'missed' step?

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 19 Apr 2010 10:05:08 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2fx2rr10r.fsf@nwalsh.com>
Dave Pawson <dave.pawson@gmail.com> writes:

>> If you want the serialized output to be indented (or in a weird encoding
>> or anything else), you have to tell XProc or the XProc step that you want
>> it serialized that way.
>
> Yet  I don't do that 'after' the xslt 'step'?
> I do it ... globally? Is that the right word?

No, it's not global. The serialization element that I added:

   <p:serialization port="result" indent="true"/>

requested the XProc processor to turn on indenting when (if!) it
serializes the output on the "result" port. (Note that if this
pipeline was called by another pipeline, then like the XSLT case, the
results would be passed back as a data model and serialization would
not apply.)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Use the memory of thy predecessor
http://nwalsh.com/            | fairly, and tenderly; for if thou dost
                              | not, it is a debt will sure be paid,
                              | when thou art gone.--Sir Francis Bacon

Received on Monday, 19 April 2010 14:05:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 19 April 2010 14:05:43 GMT