xsl-list
[Top] [All Lists]

RE: Apply-templates - how to omit top level element tags?

2005-09-09 16:43:11
Please, forgive me, but I have the feeling that had you bought and
read a good XSLT/XPath book, you'd (by the time this thread grew to 65
messages long) have a very good understanding of the topic and would
have found most of the answers to your questions.

Thanks. I've comfortable with the solution since early in the thread,
I've just been debating the issue because others have been challenging
my assertion that it's almost impossible to use XSLT (1.0) to build
robust systems.

Thanks for the list of books, but I already have (and have read) some of
those as well as others:

        -- XSLT : Programmer's Reference by Michael Kay 
        -- XSLT and XPath On The Edge by Jeni Tennison 
        -- XSLT Cookbook by Sal Mangano 
        -- XPath and XPointer by John E. Simpson 
        -- XSL-FO by Dave Pawson 
        -- Definitive XSL-FO by G. Ken Holman
        -- XSL Formatting Objects Developer's Handbook by Doug Lovell

-Mike

-----Original Message-----
From: Dimitre Novatchev [mailto:dnovatchev(_at_)gmail(_dot_)com] 
Sent: Friday, September 09, 2005 7:39 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Apply-templates - how to omit top level element tags?

Please, forgive me, but I have the feeling that had you bought and read
a good XSLT/XPath book, you'd (by the time this thread grew to 65
messages long) have a very good understanding of the topic and would
have found most of the answers to your questions.

As time is money, you'd have better contributed to everyone's wellbeing,
including your own.

The best books on XSLT/XPath I know and recommend are:

"XSLT Programmer's Reference" 
(one book for XSLT 1.0 and a new book for XSLT 2.0) by Michael Kay,
http://www.amazon.com/exec/obidos/tg/detail/-/0764569090/qid=1126308607/
sr=2-1/ref=pd_bbs_b_2_1/002-7517683-2986405?v=glance&s=books


"XPath 2.0 Programmer's Reference (Programmer to Programmer)", 
by Michael Kay,
http://www.amazon.com/exec/obidos/tg/detail/-/0764569104/ref=pd_sim_1/00
2-7517683-2986405?%5Fencoding=UTF8&v=glance


"Beginning XSLT", 
 by Jeni Tennison,
http://www.amazon.com/exec/obidos/tg/detail/-/1861005946/qid=1126308706/
sr=1-2/ref=sr_1_2/002-7517683-2986405?v=glance&s=books


"Beginning XSLT 2.0: From Novice to Professional (From Novice to
Professional)",
by Jeni Tennison,
http://www.amazon.com/exec/obidos/tg/detail/-/1590593243/qid=1126308706/
sr=1-1/ref=sr_1_1/002-7517683-2986405?v=glance&s=books

I haven't yet bought and read this one, but the name Jeni Tennison
speaks for itself!


"XSLT Cookbook ", 
by Salvatore Mangano,
http://www.amazon.com/exec/obidos/tg/detail/-/0596003722/ref=pd_sim_3/00
2-7517683-2986405?%5Fencoding=UTF8&v=glance


Cheers,
Dimitre Novatchev.



On 9/10/05, Mike Schinkel <mikes(_at_)xtras(_dot_)com> wrote:
Michael:

Thanks for your comments.  As always, I'm honored.

XSLT 1.0 is designed with a rather different notion of
robustness...

I *can* see where that is useful at times. But lately I've become more
and more appreciative of systems where I can guarantee correctness
from
testing on a module level as opposed to a systems level.  I've run
into
too many problems with XSLT, for example using to created broadcast
emails, where a change modified the expected HTML output in an
undetected way and our emails all went out wrong.

XSLT 2.0, especially if you opt for schema-awareness, has swung a
long way towards this more conventional definition of robustness...

That sounds much better.  BTW, I have read several books on XSD
schemas
and am still struggling with the nuances of writing schemas. What are
some good tools that can take an XML file and infer an XSD schema to
create a starting point?

Also, unfortunately, the tool I'm currently using only supports MSXML
4.0 SP2 last updated 6/2/2003, and everything else we do here is .NET
on
Windows, so I don't know if I can used XSLT 2.0 anytime soon w/o
completely changing my environment (which would currently be too time
consuming and painful), can I?

-Mike
P.S. Hopefully XSLT 2.0's robustness features are self-contained, i.e.
that it doesn't require Perl or Java or other to get the value of the
schema validation?

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--