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

Re: alternating tags in a list?

Subject: Re: alternating tags in a list?
From: Keith Visco <kvisco@xxxxxxxxx>
Date: Wed, 16 Dec 1998 10:37:53 -0500
keith visco
Paul,


> Why would you create all text and cdata when you could create useful nodes that represent the structure of your data? 

It might not always be the case that my end result allows me to create
nice useful nodes in my XSL result-tree. If I wanted nice useful nodes
in my result tree, I would have simply used the XML document, and not
processed it at all with XSL.  XSL is a transformation language, at
least that's what I thought it was. I take my nicely structured, and
easily DOM traversable XML document, and process it with XSL. What I get
out, might be another nicely structured,  easily DOM traversable XML
document, or it might be an RTF file or PDF file or JPEG image.

I believe you are suggesting the following: Once an XSL processor has
constructed the result tree, it passes the tree off to a separate
program for "POST/PRE"-processing. The new result tree is then returned
to the XSL processor for interpretation.  

Though certainly possible, it is not in my opinion the way it should be
done. I see nothing wrong with providing a way for extending the
capabilities of the XSL processor, so that I don't need to do any
addition post/pre processing of the XML.


>XSL is not very good as a
> generic text writing tool and will not become so just because inline
> ECMAScript is added.


I hope I didn't give the impression that I wanted an XSL processor to be
my word processor...I simply stated that the result tree, could in fact
be comprised of lots of text elements, and therefor not as easily
traversable as one would like.

--Keith

Paul Prescod wrote:
> 
> Keith Visco wrote:
> >
> > Paul,
> >
> > Not a misunderstanding, simply an understanding that not everything I
> > want to do with XSL will produce a nice XML tree. For example, some of
> > my stylesheets produce an XML tree will all Text and CDATA
> > elements....not fun stuff if I need to "fiddle" with it.
> 
> 
>  Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
>  http://itrc.uwaterloo.ca/~papresco
> 
> "Sports utility vehicles are gated communities on wheels" - Anon
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.