output indenting

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

output indenting

Teun van Eijsden
Is it possible to disable the output indenting on an XForm that outputs HTML?
 
Thx in advance,
Teun van Eijsden

-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: output indenting

fl.schmitt(ops-users)
Hi Teun,

> Is it possible to disable the output indenting on an XForm that outputs
> HTML?

Maybe this can be achieved with a xslt processor. Using the xsl:output
tag one can decide whether the xslt engine should indent the (XML or
HTML) output.

HTH
florian



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: output indenting

Erik Bruchez
Administrator
In reply to this post by Teun van Eijsden
In the epilogue, you can configure the oxf:html-converter processor to
set indent-amount to 0. We have in fact just made this the default again
in the latest builds. For a while the default was 1 because I think of a
bug in the saxon serializer, a long time ago, which did not accept a
value of 0.

-Erik

Teun van Eijsden wrote:

> Is it possible to disable the output indenting on an XForm that outputs
> HTML?
>  
> Thx in advance,
> Teun van Eijsden
>
> -- The information contained in this communication and any attachments
> is confidential and may be privileged, and is for the sole use of the
> intended recipient(s). Any unauthorized review, use, disclosure or
> distribution is prohibited. Unless explicitly stated otherwise in the
> body of this communication or the attachment thereto (if any), the
> information is provided on an AS-IS basis without any express or implied
> warranties or liabilities. To the extent you are relying on this
> information, you are doing so at your own risk. If you are not the
> intended recipient, please notify the sender immediately by replying to
> this message and destroy all copies of this message and any attachments.
> ASML is neither liable for the proper and complete transmission of the
> information contained in this communication, nor for any delay in its
> receipt.
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: output indenting

Erik Bruchez
Administrator
In reply to this post by fl.schmitt(ops-users)
Florian Schmitt wrote:
> Hi Teun,
>
>> Is it possible to disable the output indenting on an XForm that outputs
>> HTML?
>
> Maybe this can be achieved with a xslt processor. Using the xsl:output
> tag one can decide whether the xslt engine should indent the (XML or
> HTML) output.

With XSLT in a pipeline, transformation is separate from serialization.
So the xsl:output properties, which apply to serialization only, won't
have any effect. But you can configure the same properties using the
oxf:xml-converter processor.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws