OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
generating a dynamic path
This page's ID:
26452
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi, I'm trying to generate a dynamic path in xsl to get hold of a specific value in my xml doc: <Table_03> <lineInfo>_debit</lineInfo> <_x0032_002>0</_x0032_002> <_x0032_003>1.0000</_x0032_003> </Table_03> <Table_03> <AppLineId>1</AppLineId> <lineInfo>brutto</lineInfo> <_x0032_002>1450780.0000</_x0032_002> <_x0032_003>464652.0000</_x0032_003> </Table_03> in the xsl part i want to know, while iterating through Table_03[02], what value is written in in the child nodes of Table_03[01] with the same name as the children of Table_03[02]. The Problem is that the names of the children of both tables change for different views(due to the parsing software) and therefor I have to get hold of the name of the child in Table_03[02] and use this name to get hold of the respective value in Table_03[01]. I've tried this: <td><xsl:value-of select="concat('//DataSet//Table_03[01]//', name(.))"></xsl:value-of></td> but this seems to return a string instead of returning the value of the wanted child of Table_03[01] Is it possible to convert the above generated string to a path?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »