Use of XML Functions in view-definitions

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
Vereina
Posts:1
Joined:Thu Nov 03, 2011 3:53 pm
AV Hardware:QNAP 659 Pro+
Use of XML Functions in view-definitions

Post by Vereina » Thu Nov 03, 2011 3:59 pm

Hello, my first post on this forum ....

I have created some custom trees to use withTwonky v6.0.34 on my QNAP NAS.

My question is:

Is there any way to use XML functions such as substring-before as part of a container statement?

What I would like to be able to do is something like:

buildon='fn:substring-before(upnp:genre,'-')'

... but I have no idea whether doing something like this is possible or, even if it is, what the the correct syntax would be.

Any advice would be appreciated!

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Use of XML Functions in view-definitions

Post by phibertron » Thu Nov 03, 2011 5:42 pm

not that I am aware of
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Locked