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

xsl:output question

Subject: xsl:output question
From: "Roshan Sharma" <roshansharma@xxxxxxxxxxx>
Date: Tue, 27 Mar 2001 06:13:29
xsl output format

In order to control the output format from an xsl processor (xalan 1.1), I attempted to set PARAM display="'format_type'" on command line, where format_type is either of xml, text or html.

Is there any way to dynamically format xsl:output format and have
one style sheet control the result tree format? I tried having
<xsl:output method="xml"|"text"|"html" >, and I hoped to have the
right output if it is within <out> .. </out>. In stead, I get output
in text always.

My input.xml is of the format:

<customer name="a"
  contact-phone="blah"
  contact-person="john"
  revenue="blah"

  <location city="nyc" revenue="blah" />
  <location city="london" revenue="blah" />

  <customer name="b"
     contact-phone="asdf"
     contact-name="sadf"
     revenue="234" />

</customer>


Thanks! _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com


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.