Re: xsl-for-each-and-" "-Question
Alain Petignat <[email protected]> Mon, 23 Jan 2006 00:35:07 +0100
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all and myself
Alain Petignat wrote:
> <textarea id="tags" name="bx[plugins][admin_edit][tags]" ...>
> <xsl:for-each select="/bx/plugin/singlelink/link/tags">
> <xsl:value-of select="tag/title"/> 
> </xsl:for-each>
> </textarea>
the above is not working anyways, should be something like this:
<textarea id="tags" name="bx[plugins][admin_edit][tags]"... >
<xsl:for-each select="/bx/plugin/singlelink/link/tags/tag">
<xsl:value-of select="title"/>  
</xsl:for-each>
</textarea>
but i figured an easy way to do this ist just to return
...
<tags>tag1 tag2 etc</tags>
...
in XML.
so i do not need to worry about for-each, since no need of other data
anyways there...
still wondering about the rest, though...
enjoy monday ;)
alain.
>
> but i would rather have the data in a input-field:
>
> <input type="text" value="here the data from the foreach" ... />
>
> i have no idea how to achive this. a hint anyone? i saw that in the
> blog-plugin it is solved as follows:
>
> <input ... value="{atom:tags}"/>
>
> but i do not quite get where this is from, propably some strange
> "stream" again? ;)
>
> thanks in advance!
> alain
--
________________________________________________________________________
www.sequenz.ch
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms