Subject: RE: [xsl] Transform XML to XML From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 25 Aug 2005 19:00:31 -0400 |
One thing I do really dislike about XSLT, at least from what I understand, is there doesn't seem to be a way to write robust code in XSLT; if my input XML is off by a bit (i.e. well-formed but not validated by a schema), or if I make a boneheaded change to the XSL, the transform may not output what I expect but there's little way for me to catch the error without painstaking proofreading after each transform (scenario: after somethings been printed for a while; opps, looks our XSL forgot to include that chapter!)
>> So if the new bits of information -- about the identity transform, the built-in default templates and their function (which the identity template overrides), and the difference and marvelous complimentarity between matching (xsl:template) and selecting (xsl:apply-templates) -- don't all by themselves flood your brain with understanding -- again, please feel free to post.
Now that you mention it...why are their default templates and is there any way to turn them off? They are almost never what I want, and they almost always seem to give me conceptual trouble when I'm trying to figure out why my transform isn't working like I expect.
Also, matching and selecting do confuse me. I'm best when I do <xsl:call-template> :) Also, the matching and selecting part seem so fragile, like one tiny thing is off and they don't work correctly. Is there anything short you can tell me that might help me grok those? BTW, I own and have read about five total books on XSLT and on XPath, and another four on XSL:FO.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Transform XML to XML, Mike Schinkel | Thread | RE: [xsl] Transform XML to XML, Michael Kay |
[xsl] Re: Using the full page for a, bharathi kongara | Date | RE: [xsl] Transform XML to XML, Mike Schinkel |
Month |