S
sebastian.langer
Hi!
Certainly somebody had my problem before and could give me just some
hints, how to solve it:
I have an xml file, which contains scientific data in a tree form. The
data should be changed in a JSR168-Portlet and in a Python-Environment
as well, so I want them to be parsed by an xslt to html which then
could be shown in a web browser.
It is quite easy to parse the tree and collapse or expand the whole
tree by parsing the xml against the xslt. What I would like to be able
to do, is to give the xslt an xpath (or whatever path), for example
/layer/projection[@type='mercator']/longitude and the xslt parses the
stylesheet so, that only this path is expanded in the resulting html.
I don't like the idea of expanding the whole tree at once, reading the
whole tree into the browser and make it expanding/collapsing by
javascript, as I would have the whole file in the memory of the client.
Would be great, if somebody could give me hints!
Cheers, Sebastian
Certainly somebody had my problem before and could give me just some
hints, how to solve it:
I have an xml file, which contains scientific data in a tree form. The
data should be changed in a JSR168-Portlet and in a Python-Environment
as well, so I want them to be parsed by an xslt to html which then
could be shown in a web browser.
It is quite easy to parse the tree and collapse or expand the whole
tree by parsing the xml against the xslt. What I would like to be able
to do, is to give the xslt an xpath (or whatever path), for example
/layer/projection[@type='mercator']/longitude and the xslt parses the
stylesheet so, that only this path is expanded in the resulting html.
I don't like the idea of expanding the whole tree at once, reading the
whole tree into the browser and make it expanding/collapsing by
javascript, as I would have the whole file in the memory of the client.
Would be great, if somebody could give me hints!
Cheers, Sebastian