You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Meena <me...@wipro.com> on 2002/02/04 14:23:07 UTC

Reading from HTML

Hi,
I've an xml like the below

<chapter node-ref="a">
    </privilege>
    <chapter node-ref="a.b">
        </privilege>
        <chapter node-ref="a.b.c">
        </privilege>
        </chapter>
    </chapter>
</chapter>

and an HTML file like the below

Name                      Value
a                                 A
a.b                              B
a.b.c                           C

I need a template that has to read the value for that node(for instance, "a.b.c") from the html file. If no value is existing, then it has to take the value of its parent node.(a.b)

If even this node doesnt hv the value, then it should take value from the second nodes parent node(a)

How to achieve this??



Regds,

Meena