# Component question

**URL:** <https://forum.kirupa.com/t/component-question/243876>\
**Category:** Uncategorized\
**Created:** [November 12, 2007, 6:47am UTC](https://forum.kirupa.com/t/component-question/243876 "2007-11-12T06:47:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![H3ist](https://avatars.discourse-cdn.com/v4/letter/h/a8b319/32.png) [@H3ist](https://forum.kirupa.com/u/H3ist)\
**Post date:** [November 12, 2007, 6:47am UTC](https://forum.kirupa.com/t/component-question/243876/1 "2007-11-12T06:47:54Z")

</div>

If have a component (in my case List) where my dynamic data (data between XML-tags) is published, instead of showing entire XML lista, is there any way to shorten data down that is published ?

at the moment, data that is published in List would look like this:  
**[COLOR=DarkRed]2007-11-12 07:13:40 some text[/COLOR]**  
instead, i need this kind of output:  
**[COLOR=DarkRed]2007-11-12 [/COLOR]**

Here’s what i mean…  
My xml-tree looks like this:

\<root\>  
\<cdate\>07.11.12\</cdate\>  
\<board\>  
\<mess date=“2007-11-12”\>  
\<time\>07:13:40\</time\>  
\<text\> some text\</text\>  
\</text\>  
\</board\>  
\</root\>

What ive done is that i made List to bind with \<mess date=""\>.  
The problem here is that everything under this tag (till end tag comes) is also published in the List.

If i bind list with \<time\> then the only message is show is between the time tag.

Since this XML contains php then this XML-tree will grow and it would be much easier to sort information if i only could publish just one time-tag / mess in the List component.
