Re: [NTG-context] concatenating attribute values in XML

2017-08-07 Thread Pablo Rodriguez
On 08/06/2017 10:11 PM, Pablo Rodriguez wrote: > [...] > This is what I have in the XML file: > > > > > Sorry, Hans. Today I realize I was saying nonsense. I solved it with: \xmlsetsetup{\xmldocument} {[contains(@class,'sidebyside')]/p}

Re: [NTG-context] concatenating attribute values in XML

2017-08-06 Thread Pablo Rodriguez
On 08/06/2017 12:05 PM, Hans Hagen wrote: > On 8/6/2017 11:37 AM, Pablo Rodriguez wrote: >> [...] >> How can I define the external figure so I concatenate the image file >> names in the code above? >> >> I mean, \xmlconcat is great, but I don’t see how I could make it work to >> get values from

Re: [NTG-context] concatenating attribute values in XML

2017-08-06 Thread Hans Hagen
On 8/6/2017 11:37 AM, Pablo Rodriguez wrote: Dear list, I have the following definition: \startxmlsetups xml:image:sidebyside \blank\startalign[center] \dontleavehmode \externalfigure[\xmlattribute{#1}{./p/img}{src}] [width=.5\textwidth]

[NTG-context] concatenating attribute values in XML

2017-08-06 Thread Pablo Rodriguez
Dear list, I have the following definition: \startxmlsetups xml:image:sidebyside \blank\startalign[center] \dontleavehmode \externalfigure[\xmlattribute{#1}{./p/img}{src}] [width=.5\textwidth] %~ \xmlconcat{#1}{./p/img}{ }