From: Sjoerd Siebinga <sjoerd.lists@gmail.com>
Subject: XML-lookahead
Date: Sun, 27 Aug 2006 14:50:34 +0200 [thread overview]
Message-ID: <D96D8542-B10D-4AC5-9A00-AA6E33C34246@gmail.com> (raw)
Hi all,
Is it possible to use something like \doifnextcharelse for xml-
environments or is there a clever work-around? I need to know what
the next tag is in order to decide if a linebreak needs to be inserted.
For example:
\defineXMLenvironment [av] {} {} % linebreak unless followed by
<liste>-tag
\defineXMLenvironment [liste] {} {\crlf} % always a linebreak
\startXMLdata
<av> text </av> <liste> 15 </liste> <!-- \crlf -->
<av> text </av> <!-- \crlf -->
\stopXMLdata
Regards,
Sjoerd
next reply other threads:[~2006-08-27 12:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-27 12:50 Sjoerd Siebinga [this message]
2006-08-27 12:56 ` XML-lookahead Hans Hagen
2006-08-27 13:29 ` XML-lookahead Sjoerd Siebinga
2006-08-27 18:00 ` XML-lookahead Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D96D8542-B10D-4AC5-9A00-AA6E33C34246@gmail.com \
--to=sjoerd.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).