Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parsing Elements between two XSLT file?

Status
Not open for further replies.

nigellus1

IS-IT--Management
Nov 13, 2007
7
0
0
GB
Could someone please tell me how I can parse xml elements between two XSLT files?

Thanks
 
>...please tell me how I can parse xml elements between two XSLT files?
Is that a phrase you compose yourself? Do you understand what it means? The forum may like to hear what it actually means.
 
My site is deal-autos.co.uk.

1. If you go to and click read more under Ferrari you see the rest of the article right

2.If you click on read more under the Ferrari under Features the article opens on the same page (which I would like to change)

I would like to display the result you get on 1 when I click on read more on 2

I have two xml files and two xslt files and would like to parse id between the to to get the desired effect.

I am new to xslt so I may be doing it wrong. If I am please set me straight?

Does that make sense?
 
Sorry Number 2 was not complete

1. If you go to and click read more under Ferrari you see the rest of the article right

2.If you go to click on read more under the Ferrari under Features the article opens on the same page (which I would like to change)

I would like to display the result you get on 1 when I click on read more on 2

I have two xml files and two xslt files and would like to parse id between the to to get the desired effect.

I am new to xslt so I may be doing it wrong. If I am please set me straight?

Does that make sense?
 
I am not going to argue with you. Why you quote a site and unable to describe the problem plain and simple? If you cannot explain it, you don't understand the problem.
 
Sorry I did not mean to argue, I quote the site because it a not a live site it is the site I am working on and you can see the problem as it is. I just thought it would be easier if you could see the result.

The problem I have is that when you click on a link in the transformed xml it opens in the same html template, I would like it to open in a different template.
 
>I would like it to open in a different template.
Don't understand what it meant by different template. For those matter, you have to think in terms of html spec rather than xsl template language. When you set up the <a> add an attribute target along with href. For instance, it would open in a new window if it is "_blank".
[tt]<a href="..." target="_blank">...</a>[/tt]
If the "different template" output set up an iframe, put the target attribute pointing to that "different" iframe...
 
Thank you for that info I will give that a go and let you know how I get on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top