Skip to main content



      Home
Home » Archived » BIRT » XML template processing with XPATH
XML template processing with XPATH [message #126073] Wed, 08 February 2006 09:38
Eclipse UserFriend
Hello all,

we are using the birt engine in a standalone environment and want to do
some xml/xslt pre-processing before forwarding the report templates to the
birt engine
(creating 'minor-reports' e.g. containing only charts or specific tables).
This can be achieved very be removing nodes via xpath (and actually it
already works fine). The only issue is, that the layout structure -
position of (e.g.) table nodes in the xml blobs - can't be handled very
flexible now.
For example:
The following xpath construct would remove all tables in row number 6.
<xsl:template match="/report/body/grid/row[6]/cell/table" />
Changing the layout - e.g. adding another row before row number 6 would
force changes in the xslt file.
If the report designer would be able to add attributes to specific report
artifacts, such as name or id attributes, the relevant elements could be
located in a more dynamic way.
As an example:
<body>
<grid name="header">
<row>
<cell>
<table name="meta data table"></table> ...

Maybe there's aleardy such an option I haven't found yet?
If not, I think, it wouldn't be a big deal to integrate this option in the
property tabs of the designer tool, wouldn't it?
If someone has hint, please let me know :-)
Mark
Previous Topic:Blank PDFs - possible help for others
Next Topic:Java Image Support
Goto Forum:
  


Current Time: Mon Jun 09 22:06:12 EDT 2025

Powered by FUDForum. Page generated in 0.09286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top