[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

FW: 2-step transformation

Subject: FW: 2-step transformation
From: "Robert Soesemann" <rsoesemann@xxxxxxxxxxx>
Date: Wed, 7 Jul 2004 11:17:19 +0200
breadcrumb html
Hello,

what I am trying to do is create a breadcrumb trail based on a current
page id and a sitemap XML document. In my page.xml I have a placeholder
tag:

	<?xml-stylesheet type="text/xsl"
href="generate-breadcrumb.xsl"?>
	...
	<add-breadcrumb pageid="ID5"/>    <--------- final breadcrumb
HTML fragment should go here
	...

Based on its @pageid the first XSL(generate-breadcrumb.xsl) generates
this XML fragment:

	<breadcrumb>
    		<item url=""area1.xml" label="area1"/>
    		<item url=""area2.xml" label="area2"/>

    		<item url=""areaN.xml" label="areaN"/>

   	 	<page label="thisPage"/>
	</breadcrumb>

To do styling and truncation task based on the page width, I need to
send this fragment through a Second XSL (style-breadcrumb.xsl) which
generates the actual HTML fragment 
which then be should placed in the page.xml.

How can I realise this 2-step transformation. Any ideas are welcome.


Best regards,

Robert

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.