Topic: Table with Column-Captions via XSL Pages that link to <a href="https://ozoneasylum.com/backlink?for=23808" title="Pages that link to Topic: Table with Column-Captions via XSL" rel="nofollow" >Topic: Table with Column-Captions via XSL\

 
Author Thread
Pirf2
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Oct 2004

IP logged posted posted 10-26-2004 13:59 Edit Quote

Hi,

i have an XML-Stream of the following Syntax:

code:
<stream>
<row><rowid>123</rowid>
<field><name>fieldname</name><value>fieldvalue</value></field>
...
</row>
...
</stream>


Each row has got the same fields, so its a typical table. I already managed to display it with a simple XSL-File. But I cannot find a way to extract the fieldnames and put them as column captions once on top of the table. It must be possible, doesn't it?

THX,
Pirf2

Pirf2
Obsessive-Compulsive (I) Inmate

From:
Insane since: Oct 2004

IP logged posted posted 10-28-2004 08:38 Edit Quote

OK, got it. I simply did a match on /stream/rownt/field/name before I match /stream/row, that does it fine.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu