From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Denis Maier <denis.maier.lists@mailbox.org>
Subject: Re: Extreme tables and XML conflict?
Date: Mon, 21 Sep 2020 16:50:29 +0200 [thread overview]
Message-ID: <3f8d662e-dbb3-8807-0d8e-c3a6a45cd18d@gmail.com> (raw)
In-Reply-To: <372764f1-a5ac-2297-cdf7-c6bf08f82a86@mailbox.org>
Denis Maier schrieb am 21.09.2020 um 16:38:
> Hi,
>
> I'm a bit confused, but this here won't compile:
>
> =================
> \startbuffer[test]
> <?xml version="1.0" encoding="utf-8" ?>
> <article>
> Test
> <table/>
> </article>
> \stopbuffer
>
> \startxmlsetups xml:test
> \xmlsetsetup{#1}{*}{-}
> \xmlsetsetup{#1}{article}{xml:*}
> \xmlsetsetup{#1}{table[@content-type!='parallel']}{xml:table}
> \stopxmlsetups
>
> \xmlregistersetup{xml:test}
>
> \startxmlsetups xml:article
> \starttext
> \xmlflush{#1}
> \stoptext
> \stopxmlsetups
>
> \startxmlsetups xml:table
> \startxtable
> \startxrow
> \startxcell one \stopxcell
> \startxcell two \stopxcell
> \stopxrow
> \stopxtable
> \stopxmlsetups
\startxmlsetups xml:table
\startembeddedxtable
\startxrow
...
\stopxrow
\stopembeddedxtable
\stopxmlsetups
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-09-21 14:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-21 14:38 Denis Maier
2020-09-21 14:46 ` Taco Hoekwater
2020-09-21 14:50 ` Wolfgang Schuster [this message]
2020-09-21 14:56 ` Denis Maier
2020-09-21 14:54 ` Thomas A. Schmitz
2020-09-21 16:03 ` Denis Maier
2020-09-21 16:48 ` 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=3f8d662e-dbb3-8807-0d8e-c3a6a45cd18d@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=denis.maier.lists@mailbox.org \
--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).