Hans Hagen said this at Mon, 5 Jan 2004 21:12:16 +0100:

>and of course a \showXMLfile{name.xml}
>
>The advantage of this method is that too wide lines are handled better i.e. 
>they are properly indented

Thanks, Hans.
I tried that a little following your suggestion. It has some trouble with
'$' in the input file, surrounding each one with \bgroup \egroup. It
turns this input:
<xsl:value-of select="[EMAIL PROTECTED]/@charName"/> 
  ...into this output...
<xsl:value-of select="[EMAIL PROTECTED] \$\egroup char-value]/
@charName"/> 

XSLT is also kind of special in that changes in whitespace really affect
the output, so people who copy & paste the script (or otherwise try to
learn from the typeset version) might not have very good results. (Less
of a problem because I distribute the script, this time.)

The $ mishandling probably is a bug (using Beta from 18 Dec).

The other suggestions are great. I'll see what I can do to refine it.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      [EMAIL PROTECTED]
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to