Re: [xsl] Value of the variable

Subject: Re: [xsl] Value of the variable
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 26 Nov 2009 03:29:27 -0800 (PST)
Hermann Stamm-Wilbrandt wrote:

> > What if you have something like:
> >    a,
b, <i>c, d</i>
> > or:
> >    a, b, <i>c</i>d
> > ?

> that does not seem to
be a problem since that may be solved
> with your solution on a node basis
For the first case, as I said, yes.  But for the second one, depends on the
requirements.  Should it result in:

    <a-g>
       <a>a</a>
       <a>b</a>
<a><i>c</i></a>
       <a>d</a>
    </a-g>

or:

    <a-g>
       <a>a</a>
<a>b</a>
       <a><i>c</i>d</a>
    </a-g>

or anything else (including
generating an error)?

  As often, this is not an issue about a technical
point regarding XSLT, but just a requirement definition issue.

  Regards,

--
Florent Georges
http://www.fgeorges.org/

Current Thread