Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 9th, 2008, 11:34 AM
Registered User
 
Join Date: Sep 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I really do appreciate your help, Michael. I just need to sit back and determine how I'll proceed from here. There's only so much verbosity I can use with XSLT 1.0 in PHP to translate ITEM3, ITEM5, ITEM2, ITEM4, and ITEM1 to look like this:

[ITEM3], [ITEM5] ([ITEM2]), [ITEM4] [ITEM1]

I can, of course, just pop in the values. But I'd like to accommodate for missing data if it exists instead of ending up with something that looks like this:

[ITEM3], (), [ITEM4]

Any one of these values could be missing and I do not have control over the XML data structure or how much data is filled in.





Similar Threads
Thread Thread Starter Forum Replies Last Post
giving two conditions in match in xsl:key vidhiS XSLT 2 February 29th, 2008 05:40 AM
A complex file parser Vistro Visual Basic 2008 Essentials 2 February 19th, 2008 02:50 PM
How to upload complex xml file to 1 db table vangogh XML 3 October 8th, 2007 04:43 AM
Importing a Complex Excel file paige BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 0 February 7th, 2007 03:22 PM
XSL Transform with xsl string NOT xsl file skin XSLT 0 June 16th, 2003 07:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.