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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
- XQuery Help and Discussion (2017)
-> + Issue with Processing Instruct... (2)
-> + problem converting json to XML... (2)
-> + Problem base64 decoding string... (3)
-> + Problems posting multipart for... (5)
-> + trouble with download of price... (2)
-> + Problem with http-post not bei... (3)
-> + path problem, xps_file:writeAl... (9)
-> + Xquery update support? (2)
-> + problem with Stylus studio try... (5)
-> + adding dtd reference to xml ou... (4)
-> + xquery escaping ambarsand when... (3)
-> + Whitespace problem when return... (5)
-> + Problem with namespace prefix ... (5)
-> - Sending via SFTP returns unexp... (1)
-> + Query and Sftp clent (4)
-> + xquery and try - catch (3)
-> + Query + ddtek:http-post optio... (5)
-> + Example files referenced in do... (3)
-> + Automatic Error Detection and ... (3)
-> + Working with result of ddtek:h... (2)
-- [1-20] [21-40] [41-60] Next
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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


   
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.