This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Creating a HTML using 2XMLs and XSLT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Creating a HTML using 2XMLs and XSLT" Watch "Creating a HTML using 2XMLs and XSLT" New topic
Author

Creating a HTML using 2XMLs and XSLT

Tarun Chatterjee
Greenhorn

Joined: Mar 07, 2005
Posts: 25
Can anyone suggest how to use 2 XMLs in XSLT to create a HTML from XSL.

I tried to use 1XML in XSL(client side) and other XML in the transformer(Server Side).

I want to use both the XMLs on server side

Can anyone suggest ?

Tarun
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Use the document(URI) function in your XSLT to access an XML document other than the primary input.
Tarun Chatterjee
Greenhorn

Joined: Mar 07, 2005
Posts: 25
Thanks Paul.

I have used document(URI) for ther 2nd XML. Thats client side.
MY requirement says that I need to do it on server side.
I have a dynamic XML, 1 Error XML on server side which i need to merge.

ON client side i have to use Static XML in document(URI).

My issue is how do i use 2 XMLs on server side using Transformer.

Tarun
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating a HTML using 2XMLs and XSLT