- From: <denis.maier@unibe.ch>
- Date: Thu, 17 Apr 2025 09:07:45 +0000
- To: <ndw@nwalsh.com>
- CC: <xproc-dev@w3.org>
Thanks, that works. Best, Denis > -----Ursprüngliche Nachricht----- > Von: Norm Tovey-Walsh <ndw@nwalsh.com> > Gesendet: Donnerstag, 17. April 2025 10:59 > An: Maier, Denis Christian (UB) <denis.maier@unibe.ch> > Cc: xproc-dev@w3.org > Betreff: Re: Accessing the current Element in p:for-each and p:viewport > > <denis.maier@unibe.ch> writes: > > <p:for-each> > > <p:with-input select="//group"/> > > > > <p:variable name="groupName" select="./@name"/> > > The p:for-each step processes a sequence of documents, not elements. You're > asking for the name attribute of the document. Try: > > <p:variable name="groupName" select="/group/@name"/> > > Be seeing you, > norm > > -- > Norm Tovey-Walsh <ndw@nwalsh.com> > https://norm.tovey-/ > walsh.com%2F&data=05%7C02%7Cdenis.maier%40unibe.ch%7C25395c789cb54 > b6ec0e108dd7d8e1354%7Cd400387a212f43eaac7f77aa12d7977e%7C1%7C0%7 > C638804771357191997%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiO > nRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ% > 3D%3D%7C0%7C%7C%7C&sdata=CYLzMejShvV8u0Qo7%2B8i1WUt8ocFRlDo > Ydu8wGZd8Xo%3D&reserved=0 > > > Oh well, no matter what happens, there's always death.--Napoleon
Received on Thursday, 17 April 2025 09:07:51 UTC