|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: document tree fragments
G. Ken Holman wrote:
Is it true that you want *only* the filename of @filename to be added to @path, or do you want that portion of @filename that matches @path to be removed and if there are more directory steps they are to be included? Gidday Ken, Uhh, yep. Call it rdbms-think: I saw a whole lot of repetitions of the path & decided it would be nicer in one place. You're right, though, I may well have to branch the directory path with further sub-directories. In XSLT 1.0 you will have to use extension functions to work with manipulated versions of the attributes. If you gave up on the @path attribute and only used @filename, then you don't need to resort to extensions and you can use:
No ... if you open five files you end up with a node set of five nodes. [snip] Correct ... trees are independent of each other. The processor keeps an implicit order (of its own determination) *between* trees, but there are no axes that span across trees. [snip] Do I need to wrap the sequence of tree fragments in my $theWines variable inside a node?
Cheers! Joe
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








