|[Xpand] Controlling Whitespaces [message #545893]
||Fri, 09 July 2010 14:32
Originally posted by: pete.cheyne.yahoo.com|
I am wondering whether there is any good way to control the whitespaces
within an Xpand template. It seems to me that either the structure of
the template is readable _or_ it produces the output that you want, but
you cannot have both. Essentially, I am maybe looking for something that
allows me do it like in XSLT with the <xsl:text> </xsl:text> tags which
allow me to format the template as I like and just have the literal text
inbetween these tags. Or simply some other way to preserve the
control-flow structure within the template by formatting without
destroying the output.
All that I have read in the documentation is the pointer to use a pretty
printer, but such a pretty printer is not always available, especially
not as an MWE workflow component.
Do you know how Acceleo or Jet deal with this problem? Are they better
in this regard?
Powered by FUDForum
. Page generated in 0.02209 seconds