Subject: Re: [xsl] Recursive Split From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Thu, 15 Nov 2007 09:56:16 +0000 |
On 15/11/2007, Alice Ju-Hsuan Wei <ajwei@xxxxxxxxxxx> wrote: > Here is my XML: > > <listItem> > <to_do xml:id="cheese">Cheddar Cheese</to_do> > </listItem> > <listItem> > <to_do xml:id="beef">Chuck Steak</to_do> > </listItem> > <listItem> > <to_do xml:id="vegetables">Brocoli, Beans, Carrots</to_do> > </listItem> > <listItem> > <to_do xml:id="milk">Dean's Low Fat Milk 2%</to_do> > </listItem> > > <do> > <date>2007-11-14</date> > <list>milk cheese vegetables beef</list> > <limit_price>20</limit_price> > <do> > Current XSL: [snip] > Intended Output in HTML: > > <ul> > <li>Cheddar Cheese</li> > <li>Chuck Steak</li> > <li>Brocololi, Beans, Carrots</li> > <li>Dean's Low Fat Milk 2%</li></ul> Did you really want the output in that order? You give the impression it should be in the order in which the tokens appear in <list> which would make Milk first and not last... whereas the output mirrors document order. -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Recursive Split, Michael Kay | Thread | [xsl] RE: How to pass VBScript vari, Nistala, Anu |
RE: [xsl] Recursive Split, Michael Kay | Date | [xsl] Namespace match error. XSL to, Kerry, Richard |
Month |