Xsl-fo
Hello
Hope this is the right place for my query, let me know if it's not.
I'm new to XML and am attempting to play around with some XSL code. The code is from a WC3 tutorial and the result can be seen at http://www.w3schools.com/xml/xml_xsl.asp. I am wanting to change the layout by putting the contents in a table with two columns (for no reason other than experimentation). I have attempted to do this using XSL-FO but have to admit I quickly became confused as how to code this. The XML code and original XSL code are pasted below. Can anyone tell me how I can dipslay the XML in tables using XSL-FO? I would be very grateful.
Regards
Don Logan
'you'll just have to turn this opportunity YES'
XML CODE:-
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="simple.xsl" ?>
Belgian Waffles
$5.95
two of our famous Belgian Waffles with plenty of real maple syrup
650
Strawberry Belgian Waffles
$7.95
light Belgian waffles covered with strawberries and whipped cream
900
Berry-Berry Belgian Waffles
$8.95
light Belgian waffles covered with an assortment of fresh berries and whipped cream
900
French Toast
$4.50
thick slices made from our homemade sourdough bread
600
Homestyle Breakfast
$6.95
two eggs, bacon or sausage, toast, and our ever-popular hash browns
950
XSL CODE:_
<?xml version="1.0" encoding="ISO-8859-1" ?>
(
calories per serving)
dk01 posted this at 02:09 — 9th March 2006.
He has: 516 posts
Joined: Mar 2002
I have yet to fool around with xsl-fo. Its on my list of things to experiment with. Set up a wiki or test site and I'd be more than willing to throw some content in there.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.