XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Agustín BonilloSubject: PARAMETER VALUES IN STYLUS STUDIO 6.0 212F
Author: Agustín Bonillo
Date: 02 Nov 2004 04:44 AM
Hi. I have a problem with parameter values and modules in Stylus Studio
6.0 212f.

I have the following query:

import module namespace mod = "http://www.grupo-siva.org/2003/ModuloFunciones"
at "file://c:\docTGS3IH\Xquery\ModuloFunciones\Modulo.xquery";
(:***************************************************************
* *
* NOMBRE: obtenerCrolologiaPorHechos.xquery *
* *
* DESCRIPCIÓN: Consulta que recupera todas las fechas *
* en las que se nombra un Hecho, y los documentos en *
* los que esta persona aparece. *
***************************************************************:)


declare namespace gen = "http://www.grupo-siva.org/2003/EstructurasGenerales";
declare namespace fich = "http://www.grupo-siva.org/2003/Fichas";
declare namespace acc = "http://www.grupo-siva.org/2003/Acciones";
declare namespace hechos = "http://www.grupo-siva.org/2003/Hechos";
declare namespace inst = "http://www.grupo-siva.org/2003/Instituciones";
declare namespace per = "http://www.grupo-siva.org/2003/Personas";
declare namespace tmp = "http://www.grupo-siva.org/2003/Tiempo";
declare namespace a = "http://www.grupo-siva.org/2003/Cartas";

declare variable $documentos external;


<salida xsl="ObtenerCronologiaPorHechos.xsl">
<Documentos>
{
for $fecha in mod:obtener-fechas-distintas("empty", $documentos)
return
<fecha id="{$fecha}">
{
for $hecho in mod:obtener-hechos-distintos-fecha($fecha, $documentos)
return
<hechos>
<hecho id="{$hecho}">
.......


This query that runs with Stylus Studio 5.3, it doesn't run with Stylus
Studio 6.0 212f.
When I execute this query a error is produced: "Exception reading query
content".

When I try to insert a value for external variable in "Parameter Values"
in "scenario properties", I cannot insert it because it does'n appear
in this window.

Thanks for your help.

Bye.

Posttop
(Deleted User) Subject: Re: PARAMETER VALUES IN STYLUS STUDIO 6.0 212F
Author: (Deleted User)
Date: 02 Nov 2004 06:24 AM
Hi Agustín,
this is a regression that our tests didn't catch (for the record, the
"import module" command fails to detect the correct encoding used in the
module).
A fix for this problem will be available in the next update of Stylus.

Thanks for reporting this,
Alberto


 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.