Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: need to display all xml data in a table

From: "Leon Hoeneveld" <leonhoenNO@----------.-->
To: NULL
Date: 8/3/2004 9:25:00 AM
Works fine if you change the XML to the following structure:

<NAME>
<ITEM>
<HEAD>
<ATTRIB1></ATTRIB1>
<ATTRIB2></ATTRIB2>
</HEAD>
<BODY>
<LINE></LINE>
</BODY>
<BODY>
<LINE></LINE>
</BODY>
</ITEM>
</NAME>

You have to repeat the body-element around the line-element.
I don't know why, but I can live with that. Thanks.

Regards, Léon Hoeneveld

"Brian Staff" <brianstaff@[NoSpam]compuserve.com> wrote in
message news:euntVZSeEHA.1732@T......
> Well, off the top of my head...
>
> <table datasrc='#x'><tr><td>
> <table datasrc='#x' datafld='BODY'>
> <tr><td><span datafld='LINE'></span></td></tr>
> </table>
> </td></tr></table>
>
> HTH - Brian
> "Leon Hoeneveld" <leonhoenNO@S...> wrote in
message
> news:cenau8$287$1@v......
> >
> > "Brian Staff" <brianstaff@[NoSpam]compuserve.com> wrote
in
> > message news:uT2jRLKeEHA.3756@T......
> > > I believe the syntax of the datafdl attribute should
be an
> > explicit node
> > > name...not a path
> > > So...
> > > <TD><SPAN DATAFLD='NAME/ITEM/BODY/LINE'></SPAN></TD>
> > > should be
> > > <TD><SPAN DATAFLD='LINE'></SPAN></TD>
> > >
> > > But be aware that a TABLE can only handle nodes that
are
> > two deep, so if you
> > > want go deeper than that, then you need nested tables.
> > >
> > > Brian
> >
> > Thank you (all) for the information.
> > Can you give me an example of a nested table?
> >
> > Thanks in advance.
> >
> > Regards, Léon Hoeneveld
> >
> >
>
>




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent