optional lpaths to merge \xmlsetsetup?
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
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
participants (2)
-
Hans Hagen
-
Pablo Rodriguez