Subject: RE: [xsl] nested XML using xslt From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 24 Jul 2009 10:43:04 -0400 |
Cheers, Wendell
> The trick is to make sure that the first list3 gets closed > after <list4> , and a new <list3> opens after the first closes.
It's too late at night for me to understand your problem, but this sentence sounds as if you're approaching it from the wrong angle.
Don't think in terms of opening and closing elements. Think in terms of constructing a tree of nodes. Writing an element is an atomic operation, it isn't two separate operations to write the start and end tags. Draw the result tree you want to produce on a scrap of paper - as a tree - and keep it in front of you while coding; don't think about the serialized XML output.
====================================================================== 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] nested XML using xslt, Michael Kay | Thread | Re: [xsl] nested XML using xslt, kurps s |
Re: [xsl] question on random number, Hermann Stamm-Wilbra | Date | Re: [xsl] question on random number, Hermann Stamm-Wilbra |
Month |