[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Create Table

Subject: Re: Create Table
From: "Eric J. Bowman" <eric@xxxxxxxxxxxxxxxx>
Date: Tue, 23 Mar 2010 22:41:40 -0600
Re:  Create Table
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[@section='changes' and preceding-sibling::data[@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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.