ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* getting inside xhtml / mkii
@ 2008-05-08 21:32 Jelle Huisman
  2008-05-08 21:55 ` Hans Hagen
  0 siblings, 1 reply; 20+ messages in thread
From: Jelle Huisman @ 2008-05-08 21:32 UTC (permalink / raw)
  To: @mailing list for ConTeXt users

Hello,

I want to process have a rather complicated xhtml file with dictionary 
data containing lots of entries like:

<span class="word" lang="nld">papa</span>
<span class="defenition" lang="en">
    <span class="xlanguagetag" lang="en">Eng </span>
        daddy</span>

I tried to write some code to get the individual data elements into my 
ConTeXt-module, but I didn't succeed. This:

\defineXMLargument [span 
class="word"]{\Mywordstyle{\XMLvar{class="word"}{}}}

for example fails, it gives all the data within all the different 
span's, whereas I want to select the different data items using the 
<span class-attributes (and typeset the different items in different 
ways afterwards). Maybe I miss something obvious, but I would appreciate 
some help to solve this. (BTW: I use MKII for this project)

Thanks,

Jelle

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2008-05-16 10:41 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-08 21:32 getting inside xhtml / mkii Jelle Huisman
2008-05-08 21:55 ` Hans Hagen
2008-05-09  8:59   ` Jelle Huisman
2008-05-09  9:30     ` Wolfgang Schuster
2008-05-09  9:56       ` Jelle Huisman
2008-05-09 10:06         ` Wolfgang Schuster
2008-05-09 12:53           ` Jelle Huisman
2008-05-09 13:14             ` Wolfgang Schuster
2008-05-09 13:57               ` Jelle Huisman
2008-05-09 13:05           ` Hans Hagen
2008-05-09 13:54             ` Jelle Huisman
2008-05-15 11:33             ` Jelle Huisman
2008-05-15 13:07               ` Wolfgang Schuster
2008-05-15 13:27                 ` Jelle Huisman
2008-05-15 13:52                   ` Wolfgang Schuster
2008-05-15 19:54                     ` Jelle Huisman
2008-05-16  9:54                       ` Wolfgang Schuster
2008-05-16 10:19                         ` Jelle Huisman
2008-05-16 10:25                           ` Wolfgang Schuster
2008-05-16 10:41                             ` Jelle Huisman

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).