W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2020

Re: controlling indentation on individual XSLT steps?

From: David Birnbaum <djbpitt@gmail.com>
Date: Sat, 3 Oct 2020 15:11:30 -0400
Message-ID: <CAP4v81qekAGVbpCNAXSExAg1ZMSJVasJ3u_5u8uaUg1U283qWw@mail.gmail.com>
To: Martin Honnen <martin.honnen@gmx.de>
Cc: xproc-dev@w3.org
Dear Martin (cc xproc-dev),

Thank you! That worked.

Best,

David

On Sat, Oct 3, 2020 at 2:20 PM Martin Honnen <martin.honnen@gmx.de> wrote:

> On 03.10.2020 19:55, David Birnbaum wrote:
> > Thanks, all, for the quick responses. Achim reported that Morgana may
> > not yet be processing suppress-indentation (as Gerrit also surmised), so
> > bracketing that for the moment, I'm having trouble specifying indent on
> > a <p:store>. The relevant bits, removing the attempt to deal with
> > suppress-indentation, read:
> >
> >        <p:xslt name="split-forms">
> >          <p:with-input port="stylesheet"
> >     href="split-alternative-stress.xsl"/>
> >        </p:xslt>
> >
> >        <p:store href="../../output/adj-split-forms.xml" >
> >          <p:with-option name="indent" select="false()"/>
> >        </p:store>
> >
> >
> > and compilation fails with:
>
> I think
>    <p:store serialization="map{ 'indent' : false() }" href="..."/>
> should do.
>
>
Received on Saturday, 3 October 2020 19:11:55 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 3 October 2020 19:12:00 UTC