xsl-list
[Top] [All Lists]

Re: [xsl] Create Table

2010-03-23 23:42:12
bernie bonn wrote:

Eric, as always thanks for your help.  I really appreciate it.  I
wish your assumption was true, unfortunatley it isn't, the
@field='file' is not a mandatory field .  I wonder if a bunch of
'ors' would work?  Anyway, I'll have to dig deeper or attack this
problem at the source, the export of the XML, (I have been told we
have no control over it. )  


I have to say I like Wolfgang's solution.  I'm working on this anyway,
as it's my belief that any time the output is (X)HTML, it's good to have
an XSLT 1 solution (if possible) for browser-based execution.  So far,
I have this Xpath expression:

//data[(_at_)section='changes' and 
preceding-sibling::data[(_at_)section='diff'][1]]

I haven't decided what to do with it yet, but it does spit out the nodes
of interest from the source file.  BTW, since the filename field may be 
missing, it kills the notion of using the Basic <table> algorithm, so my
next example goes back to using @scope to avoid having any empty <th>
cells.

-Eric

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>