-
I have the following layout: <Layout xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<Record element="data">
<Output>
<Text>
<Paragraph>
<Value select="row[position()>1]/cell[position()=1]"/>
</Paragraph>
</Text>
</Output>
</Record>
</Layout> Assuming that <data>
<row>
<cell>text</cell>
<cell>other</cell>
</row>
<row>
<cell>text</cell>
<cell>other</cell>
</row>
</data> How could I select the first
Many thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The XPath capabilities in the speedata Publisher are really limited. So I would use in this case:
Eventually I will switch to xts, which has a much better XPath implementation, but this is still a long road to go. Normally I create an XSLT transformation to transform my data into a more convenient structure. |
Beta Was this translation helpful? Give feedback.
The XPath capabilities in the speedata Publisher are really limited. So I would use in this case: