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

Dual XSLT processes for one XML

Subject: Dual XSLT processes for one XML
From: "Jay" <blueegg@xxxxxxxxxxxx>
Date: Tue, 3 Apr 2001 11:40:14 -0700
xslt xml stylesheet
I am trying to create an XML file that is processed by two separate XSLT
processes, the first is a set of stylesheets that uses XSP to generate
dynamic XML, then the second is a set of stylesheets that should read that
resultant XML and produce HTML.

My XML for example calls:

<?cocoon-process type="xslt"?>
<?xml-stylesheet href="a-xsp.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="a-html.xsl" type="text/xsl"?>

The problem is that all the XSP logic in the a-xsp.xsl produces the desired
results, but it is inaccessible in the a-html.xsl xslt process.

If I comment out the second xslt, I see the correct dynamically produced xml
string (from a-xsp.xsl), but when I uncomment it, the xsp generated xml is
ingored in the second xslt.

Does the first xslt have to generate nodes within the xml and I'm only
producing a text string?  It's not clear to me why the second xslt ignores
the results of the first.

Thanks,
Jay



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.