954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

XML or XSL or What??

My CD Collection


Title
Artist
Photo



Attachments cdcatalog_p.xml (4.88KB) default.jpg 1.72KB
JulieMHill
Newbie Poster
2 posts since Jul 2007
Reputation Points: 10
Solved Threads: 0
 

"only problem is that I have to do everything by hand"

That's no problem at all, unless your hand is broken (and if so you can learn to use your other hand).

First you should try to figure out what the heck you're trying to do, because you certainly don't explain it here.
After that you should figure out what XSLT actually is as you seem to think it's some kind of magic bullet that just does everything all the time.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

Hello Julie,

XSL will basically be the hard-coded part to style XML. You can't assume that XSL will somehow turn image attributes into images.

So for example your line:

will have to look something like:

... or

{photo}

What I usually do is create an HTML and then convert all that HTML including repeaters into logical XSL.

It's important to note that you want an optimum performance. Maybe, XSLT is not the best solution in some cases. Choosing between client side or server side XSLT is also an important step.

I hope that helps!
Tim

dezignwork
Newbie Poster
22 posts since Jul 2007
Reputation Points: 11
Solved Threads: 2
 

Thank you, thank you, thank you, Tim! It turns out that I had just one source off, and with your help, it's back on! I appreciate your help!

JulieMHill
Newbie Poster
2 posts since Jul 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You