Search found 311 matches

by Alex Ivanovich
Mon Dec 04, 2017 9:56 am
Forum: Using CATVids
Topic: how to count the lines in field notes?
Replies: 5
Views: 561

Re: how to count the lines in field notes?

question: how to count the lines in field notes? :| :roll: example: in the note field there are 10 movies (or lines) and 6 lines of commentary the code should analyze each movie and give as a result 10 (by skipping the first 6 lines, beginning with the seventh) This is possible but it will require ...
by Alex Ivanovich
Mon Dec 04, 2017 9:54 am
Forum: Using CATVids
Topic: [Solved] if length and 0 displays link
Replies: 22
Views: 1325

Re: if length and 0 displays link

dave, it does not work :| results 03:49:00 --> ore 49 minuti (is missing 3 ) 01:00:00 --> ora (is missing 1 ) 00:29:00 ---> ora 29 minuti (this should not be seen ora ) complete code <xsl:if test="length/@hours!=''"> <!-- <xsl:if test="length/@hours='0'"> --> <tr> <td class="record_pane_table_fieldn...
by Alex Ivanovich
Sun Nov 26, 2017 10:22 pm
Forum: Using CATVids
Topic: [Solved] if length and 0 displays link
Replies: 22
Views: 1325

Re: if length and 0 displays link

code completed at 99% :) result in red should not be visible 2 ore 52 minuti ore 1 ore ora inserire la durata IMDB ora 30 minuti 46 secondi ora the code does not work to transform :| :roll: (and has effects on the text that should not be visible *in red *) "hour" in "Hours" or "minutes" in "minute" ...
by Alex Ivanovich
Sun Nov 26, 2017 7:35 pm
Forum: Using CATVids
Topic: [Solved] if length and 0 displays link
Replies: 22
Views: 1325

Re: if length and 0 displays link

these are the results of the code :|

02:52:00 -----> empty ????????????????????
00:00:00 -----> inserire la durata IMDB 0 ore 0 minuti 0 secondi - (wrong 0 ore 0 minuti 0 secondi <--not display if 0)
00:30:46 -----> 0 ore 30 minuti 46 secondi (wrong not display 0 ore)
by Alex Ivanovich
Sun Nov 26, 2017 6:54 pm
Forum: Using CATVids
Topic: [Solved] if length and 0 displays link
Replies: 22
Views: 1325

Re: if length and 0 displays link

There are no hours in the XML representation "30:22" Remember your code tests for length/@hours='0' so no hours will be shown by <xsl:value-of select="length"/> :| I solved the problem of the text :| but if the value and "0" does not have to be displayed :roll: the "hour" problem remains :( <xsl:if...
by Alex Ivanovich
Sun Nov 26, 2017 4:35 pm
Forum: Using CATVids
Topic: [Solved] if length and 0 displays link
Replies: 22
Views: 1325

Re: if length and 0 displays link

LotsOCds wrote:
Alex Ivanovich wrote:This work in half
view the link
minutes
but it does not show the hours :|
Look at the XML! Example:

Code: Select all

<length hours="0" minutes="30" seconds="22">30:22</length>
:| :roll: :|
by Alex Ivanovich
Sun Nov 26, 2017 4:13 pm
Forum: Using CATVids
Topic: [Solved] if length and 0 displays link
Replies: 22
Views: 1325

Re: if length and 0 displays link

:roll: :| :roll: I don't understand
by Alex Ivanovich
Sun Nov 26, 2017 12:21 am
Forum: Using CATVids
Topic: [Solved] if length and 0 displays link
Replies: 22
Views: 1325

Re: if length and 0 displays link

This work in half view the link minutes but it does not show the hours :| xsl:if test="length/@hours='0'"> <tr> <td class="record_pane_table_fieldname" nowrap=""><xsl:value-of select="/data/fld/video/length/@name"/></td> <td class="record_pane_table_fieldvalue"> <xsl:value-of select="length"/> <xsl:...