Subject:Variable as part of a tag? Author:Yvonne Tan Date:31 May 2007 06:42 AM Originally Posted: 31 May 2007 06:35 AM
Hi,
I was just wondering if anyone knows how to retrieve a variable and display it as part of a tag name?
Like:
<Senior-staff-$variable> I want to create a tag starting with "senior"
my variable in Xquery returns a 'faculty' value..
Does anyone know the exact function I can use to code that tag in my Xquery? Thanks!
Here is my Xquery:
<Faculties>
{
let $a :=doc("research.xml")/research,
$staff := $a/staff/row