Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • DrFooMod2 15 posts 34 karma points
    May 06, 2009 @ 21:53
    DrFooMod2
    0

    Split Textbox multiple in XSLT

    For a given Textbox multiple Document Type Property, how can I split the value by line, such that for the given data:


    Foo
    Bar
    Baz

    I can produce:



  • Tommy Poulsen 514 posts 708 karma points
    May 07, 2009 @ 07:51
    Tommy Poulsen
    0

    Hi, check out this thread from the other day:

    http://forum.umbraco.org/yafpostst9509How-do-I-split-a-textbox-multiple-on-line-breaks-in-xslt-resolved.aspx

    Tommy

  • DrFooMod2 15 posts 34 karma points
    May 07, 2009 @ 18:16
    DrFooMod2
    0

    First, thanks a lot for the link. Before you posted this, I gave the problem some thought, and I attempted this:

    [code]
    [/code]

    This is giving me the desired output. Instead of lumping all the data into one multiline textbox, I moved it into three simple text fields. It has been a lot of years since I did XSLT/XPath (2002 to be exact), and back then I was up to my ass in it. It's coming back to me now.


    [quote=tommyp]Hi, check out this thread from the other day:

    http://forum.umbraco.org/yafpostst9509How-do-I-split-a-textbox-multiple-on-line-breaks-in-xslt-resolved.aspx

    Tommy
    [/quote]

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies