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 February 7th, 2006, 06:39 AM
Registered User
 
Join Date: Feb 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default beginners problems (combining xml feeds etc)

Hi all, sorry if this stuff is really basic but im new to this XMLT stuff (ive completed 1 tutorial!). Right, ive just got a few things I need to sort out, to see if it would be worth me using XMLT in my web site.

Brief description of what I want to be able to do;
A search bar that will be able to search through several xml feeds to find the critera that the users have selected. The user will be able to sort the results shown by any criteria.

1. I plan on using php with XMLT to output the information. However, is it possible to combine more than one XML document?
i.e. joining xml documents in the php line :
$xml = implode('', file('document.xml'))

2. One problem I foresee is that the naming conventions in the various XML feeds are different. e.g. the number of players enrolled at a tournament, one XML feed gives this as <ENROLLED> and another as <PLAYERS>, will this be an issue? How can this be resolved within the XSL documents (how can I alter the match value in <xsl:template> to different values depending on which xml feed is used?)

3. Which way would you suggest for using the php fuction xslt_process() to output the information.
(a.)automatically save the results of the xml document to a file
(b.) Returning the results of the xml document as a string
(c.) providing and returing a string?

Thanks in advance.
bewise






Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining string paths elements into another XML eXhumed XSLT 2 March 19th, 2008 11:06 AM
XML/XSLT/RSS feeds goldnmunk XSLT 5 July 24th, 2007 05:21 AM
Soap Pricing Tool in XML for Beginners wsessoms XML 3 December 9th, 2006 05:33 AM
JDOM Combining two XML documents Clone help [email protected] XML 2 July 25th, 2006 06:01 PM
Basic doubt in combining XML Documents rajatake XSLT 2 May 4th, 2006 04:30 AM





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