cancel
Showing results for 
Search instead for 
Did you mean: 

How to? Web Form filename variable in xsd

parrym
Champ in-the-making
Champ in-the-making
Is there a way to get the filename created in step one of the wizard and use it as a variable in the xsd in step two? I would like to do something like this:


   <xs:include schemaLocation="/get_category_choices.jsp?portal="${get_filename}/>
3 REPLIES 3

scottf
Champ on-the-rise
Champ on-the-rise
I'm not sure if this will help but I use the following in my XSL.

Use either
<xsl:value-of select="$alf:rendition_file_name"/>
or
<xsl:value-of select="$alf:file_name"/>

Also take a look here: http://www.benh.co.uk/alfresco/web-forms-xforms/referencing-an-xml-element-within-an-output-path/
Hope that helps.

parrym
Champ in-the-making
Champ in-the-making
Hi Scott,

Thank you for your reply.


<xsl:value-of select="$alf:rendition_file_name"/>

Will definitely be useful for me in another project. Unfortunately for this project I need to access the filename before the xsl template file is accessed and preferably in the xsd file used in step two of the wizard. As far as I can tell I may have to create my own custom wizard but will search a bit more before I attempt that.

scottf
Champ on-the-rise
Champ on-the-rise
Hey,
Sorry I couldn't be more help.

I find it hard to get answers to questions on these forums, very disappointing most of the time.

Hope you find a workaround, maybe you could let us know if you manage to find a way.

Thanks.