Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,841 members, 7,810,239 topics. Date: Saturday, 27 April 2024 at 01:31 AM

Please Help Fix My XSLT File - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Please Help Fix My XSLT File (1664 Views)

Help Fix This Android Studio Error Dhtml18 And Otherd / Please Help Fix My Command Line / Help Fix A Codeigniter Blog Issue (2) (3) (4)

(1) (Reply) (Go Down)

Please Help Fix My XSLT File by liliian(f): 2:12pm On Apr 10, 2017
Thanks
Re: Please Help Fix My XSLT File by liliian(f): 7:16pm On Apr 10, 2017
please any help with the above?
Re: Please Help Fix My XSLT File by liliian(f): 4:24pm On Apr 11, 2017
embarassed embarassed
Re: Please Help Fix My XSLT File by stack1(m): 6:49pm On Apr 11, 2017
Woe e don tey, i did anything xslt related, but i dont see any style rules being specified since u say u want fonts/colors etc, Are you transforming to HTML/XHML.
But then after defining your apply-templates nodes, then in the template node urself i can only see u extracting values of nodes with value-of, nothing related to style here
Re: Please Help Fix My XSLT File by asalimpo(m): 12:03am On Apr 12, 2017
try the web design/masters section. Most programmers dont do styling
Re: Please Help Fix My XSLT File by liliian(f): 12:34am On Apr 12, 2017
stack1:
Woe e don tey, i did anything xslt related, but i dont see any style rules being specified since u say u want fonts/colors etc, Are you transforming to HTML/XHML.
But then after defining your apply-templates nodes, then in the template node urself i can only see u extracting values of nodes with value-of, nothing related to style here

I tried but it wasn't working, that is why i removed it and just put what i did to be corrected here.

yes i want to tranSform it to XHTML.
Re: Please Help Fix My XSLT File by liliian(f): 12:35am On Apr 12, 2017
asalimpo:
try the web design/masters section. Most programmers dont do styling

Okay, thank you.
Re: Please Help Fix My XSLT File by stack1(m): 6:21pm On Apr 12, 2017
liliian:


I tried but it wasn't working, that is why i removed it and just put what i did to be corrected here.

yes i want to tranSform it to XHTML.

see the xslt tutorials on w3cschools they have some very descriptive examples on xslt->xhtml
Re: Please Help Fix My XSLT File by liliian(f): 11:13pm On Apr 12, 2017
stack1:


see the xslt tutorials on w3cschools they have some very descriptive examples on xslt->xhtml

lol i did, i wouldn't be here if it was working
Re: Please Help Fix My XSLT File by liliian(f): 6:39pm On Apr 13, 2017
Still waiting for help.
Re: Please Help Fix My XSLT File by ToyinDipo(m): 11:21pm On Apr 13, 2017
...
Re: Please Help Fix My XSLT File by forap(m): 11:52pm On Apr 13, 2017
.... smiley
Re: Please Help Fix My XSLT File by ToyinDipo(m): 12:23am On Apr 14, 2017
...
Re: Please Help Fix My XSLT File by liliian(f): 2:08pm On Apr 14, 2017
ToyinDipo:
What is the message that you get when parsing?

So I was wondering, why you added these lines:

[

Because i am transforming it from xml to xslt. What you put up there is different, that's java. I am using jEdit.
Re: Please Help Fix My XSLT File by liliian(f): 2:13pm On Apr 14, 2017
ToyinDipo:
<xsl:template match="/">


Thank you, i will try it and get back to you. But how do i for example list them in bullet point or change the font of the output result?
Re: Please Help Fix My XSLT File by ToyinDipo(m): 3:37pm On Apr 14, 2017
...
Re: Please Help Fix My XSLT File by ToyinDipo(m): 3:47pm On Apr 14, 2017
[quote author=liliian post=55563986]

...
Re: Please Help Fix My XSLT File by liliian(f): 7:50pm On Apr 14, 2017
ToyinDipo:

I was also doing similar xml to xslt conversion with java. xslt follows the same standard whatever the tool, or language.
I just read a sample jedit xml to xslt on web, they didn't add all those. I could have posted the link here, but spambot may ban me.

Why do you have the tags in this format:
<p:itinerary>,<p:departure>,<p:departing>... instead of just <itinerary>, <departure>, <departing>...

Please read this link, you will understand better.

https://www.w3.org/2000/xp/Group/2/11/21/soap12-part0.html
Re: Please Help Fix My XSLT File by ToyinDipo(m): 8:30pm On Apr 14, 2017
liliian:


Please read this link, you will understand better.

https://www.w3.org/2000/xp/Group/2/11/21/soap12-part0.html

I understand that it's because it's a SOAP message, it has nothing to do with Jedit. I agree that the p: markup is required.
So what was the output?
Re: Please Help Fix My XSLT File by liliian(f): 8:35pm On Apr 14, 2017
ToyinDipo:



Thank you so much Toyin, it gave me the output i wanted. Gracias.
Re: Please Help Fix My XSLT File by liliian(f): 8:37pm On Apr 14, 2017
ToyinDipo:


I understand that it's because it's a , it has nothing to do with Jedit. I agree that the p: markup is required.
So what was the output?

Thanks
Re: Please Help Fix My XSLT File by ToyinDipo(m): 9:01pm On Apr 14, 2017
liliian:


Thank you so much Toyin, it gave me the output i wanted. Gracias.

You are welcome.
Can you paste current, the xml and xsl files, current and expected outputs.
Re: Please Help Fix My XSLT File by liliian(f): 9:18pm On Apr 14, 2017
ToyinDipo:


You are welcome.
Can you paste current, the xml and xsl files, current and expected outputs.

Check the post above this. it's the xml file and the output when transformed.
Re: Please Help Fix My XSLT File by ToyinDipo(m): 9:25pm On Apr 14, 2017
...
Re: Please Help Fix My XSLT File by liliian(f): 11:28pm On Apr 14, 2017
ToyinDipo:

What of the expected output.
Did you add to the xsl snippet I posted?

Include these:

xmlns:m= "http://travelcompany.example.org/reservation"
xmlns:n= "http://mycompany.example.com/employees"

within the opening <xsl:stylesheet> tag.


Yes I did add and everything is working except:
<h3>Departing</h3>
<h3>Returning</h3>

Their output is not coming out.
Thanks
Re: Please Help Fix My XSLT File by ToyinDipo(m): 11:33pm On Apr 14, 2017
...
Re: Please Help Fix My XSLT File by asalimpo(m): 1:03am On Apr 15, 2017
liliian:


Because i am transforming it from xml to xslt. What you put up there is different, that's java. I am using jEdit.
You use jEdit!! That java editor!! . Man!, i've never been able to get the hang on that editor. Tried it a few years ago and skipped it. Well, why not use something else!? What's the big deal about it?
Re: Please Help Fix My XSLT File by liliian(f): 11:06am On Apr 20, 2017
ToyinDipo:



I am sorry, i haven't be able to get back to you because of my busy schedule. I was able to do as you advice and everything worked properly.
Thank you very much for your immense help.
Please can you delete your post with the code on it? personal reason.Thanks.
Re: Please Help Fix My XSLT File by ToyinDipo(m): 11:23am On Apr 20, 2017
liliian:


I am sorry, i haven't be able to get back to you because of my busy schedule. I was able to do as you advice and everything worked properly.
Thank you very much for your immense help.
Please can you delete your post with the code on it? personal reason.Thanks.
You are welcome.
Done.

(1) (Reply)

HELP WITH Erp(enterprise Resource Program) SOLUTION / Python Or Ruby For First Programming Learning / Zoom Meeting: How To Host Zoom Meeting

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 24
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.