Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML 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
  #1 (permalink)  
Old July 24th, 2003, 12:41 PM
Registered User
 
Join Date: Jul 2003
Location: Eagan, MN, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to qornboy Send a message via MSN to qornboy
Default Referencing multiple XML documents...

Hello all, I'm an XML noob trying to do a little work with an online software build version change log for the company I work for. Basically my problem is that I have an XML document that contains build information (build version and then the path to another folder with the specifics of that build version in it's own separate XML file). I am creating an XSL document to format the build information, and I need to know how to reference elements in a different XML file, whose path is located in a <file> element. I've never tried to use more than one XML document at a time and I'd really appreciate some suggested solutions to get to the elements in an XML file that's URL is located in an element of the XML file my XSL is working with. Sorry if my description sucks, I'm totally new to this whole XML/XSL thing.

Thanks!
  #2 (permalink)  
Old July 25th, 2003, 03:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

read up on the xslt document() function - it allows you to use multiple xml files. If you get stuck, post some example xml and your xsl here and we'll help...
  #3 (permalink)  
Old October 9th, 2003, 08:39 AM
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you can give an xample code for - how to access and display the content of two different xml file from one xsl that would be helpful for me.
  #4 (permalink)  
Old October 9th, 2003, 09:40 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

http://www.w3schools.com/xsl/func_document.asp
http://sources.redhat.com/ml/xsl-lis.../msg00766.html


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple input documents pcase XSLT 2 January 8th, 2008 07:51 PM
outputting to multiple documents? wilgartw XSLT 3 November 7th, 2007 07:52 PM
compare two xml documents bcogney XSLT 1 October 30th, 2006 03:33 PM
merging 2 xml documents espider4u XSLT 0 August 31st, 2004 11:48 AM
merge 2 xml documents Beulah VS.NET 2002/2003 0 November 20th, 2003 09:33 PM





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