ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* optional lpaths to merge \xmlsetsetup?
@ 2015-05-10 19:40 Pablo Rodriguez
  2015-05-11  7:25 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2015-05-10 19:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans,

many thanks for the explanation with \xmlsetup.

I have one more question for today concerning lpaths.

I have the following commands:

    \xmlsetsetup{\xmldocument}
        {span[@label]}
        {xml:logo}

    \xmlsetsetup{\xmldocument}
        {span[contains(@class,'tex\letterpercent-logo')]}
        {xml:tex:logo}

Is there no way to merge both in one? (The basic rule a|b doesn’t seem
to work here, altough I may be missing everything :-(.)

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: optional lpaths to merge \xmlsetsetup?
  2015-05-10 19:40 optional lpaths to merge \xmlsetsetup? Pablo Rodriguez
@ 2015-05-11  7:25 ` Hans Hagen
  2015-05-11 16:23   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2015-05-11  7:25 UTC (permalink / raw)
  To: ntg-context

On 5/10/2015 9:40 PM, Pablo Rodriguez wrote:
> Hans,
>
> many thanks for the explanation with \xmlsetup.
>
> I have one more question for today concerning lpaths.
>
> I have the following commands:
>
>      \xmlsetsetup{\xmldocument}
>          {span[@label]}
>          {xml:logo}
>
>      \xmlsetsetup{\xmldocument}
>          {span[contains(@class,'tex\letterpercent-logo')]}
>          {xml:tex:logo}
>
> Is there no way to merge both in one? (The basic rule a|b doesn’t seem
> to work here, altough I may be missing everything :-(.)

it all depends on what you want to do eventually

\xmlsetsetup{\xmldocument}
    {span[@label or contains(@class,'tex\letterpercent-logo')]}
    {xml:logo}

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: optional lpaths to merge \xmlsetsetup?
  2015-05-11  7:25 ` Hans Hagen
@ 2015-05-11 16:23   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2015-05-11 16:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 05/11/2015 09:25 AM, Hans Hagen wrote:
> On 5/10/2015 9:40 PM, Pablo Rodriguez wrote:
>> [...]
>> Is there no way to merge both in one? (The basic rule a|b doesn’t seem
>> to work here, altough I may be missing everything :-(.)
> 
> it all depends on what you want to do eventually
> 
> \xmlsetsetup{\xmldocument}
>     {span[@label or contains(@class,'tex\letterpercent-logo')]}
>     {xml:logo}

Many thanks for your reply, Hans.

This is what I intended and everything is clear now.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2015-05-11 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-10 19:40 optional lpaths to merge \xmlsetsetup? Pablo Rodriguez
2015-05-11  7:25 ` Hans Hagen
2015-05-11 16:23   ` Pablo Rodriguez

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