Re: [xsl] Apply-templates - how to omit top level element tags?

Subject: Re: [xsl] Apply-templates - how to omit top level element tags?
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Sat, 10 Sep 2005 09:39:27 +1000
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/002-751
7683-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/002-751
7683-2986405?%5Fencoding=UTF8&v=glance


Cheers,
Dimitre Novatchev.



On 9/10/05, Mike Schinkel <mikes@xxxxxxxxx> 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?

Current Thread