[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Conditional extraction of data


Subject: RE: [xsl] Conditional extraction of data
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 09 Nov 2004 11:45:14 -0500

Peter,

At 03:37 AM 11/9/2004, you wrote:
Morning all. I don't want this to go on for so long that you get bored with it, but I thought you all, and especially Wendell, would like to know that I awoke at 04:10 this morning to the sound of a very large penny dropping onto what appeared to be an equally large landmine.

This is good to hear. The brain is an amazing thing. It's particularly nice that you know exactly when you completed framing out your wetware XSLT processor.


Now all you need to do is add a few details like XPath syntax, object type casting rules and so forth, and you'll soon find yourself on the heights of XSLT mastery.

Of course! To simply pass through all the content in the data file, all I need is:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
</xsl:stylesheet>


The recursive processing; the default templates; these will take care of the rest.

I call this the "null stylesheet", and have gotten into the habit of demonstrating it to beginner XSLTers so as to pose them with exactly the puzzle you have just solved.


Thanks for letting us know you are finding XSL happiness.

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
Keywords