Search found 25 matches

by FJJCENT
Thu Feb 03, 2022 6:51 pm
Forum: Common Problems
Topic: Generate an output string modified by a catalog
Replies: 5
Views: 786

Re: Generate an output string modified by a catalog

Thanks Radu, now it works, but I see that the catalog only works when using document so <xsl:variable name="route" select="document('https://www.bancaonline/banco_santander/clientes.xml"')" /> is transformed into file:/c:/bancos/santander/clientes.xml but <xsl:variable name=...
by FJJCENT
Thu Feb 03, 2022 11:52 am
Forum: Common Problems
Topic: Generate an output string modified by a catalog
Replies: 5
Views: 786

Re: Generate an output string modified by a catalog

I Detail the Error XSLT File <xsl:template match="/"> <xsl:variable name="route" select="https://www.bancaonline/banco_santander/clientes.xml" /> <!-- here yields the error Unexpected token ":" beyond end of expression --> <xsl:result-document href="{$rut...
by FJJCENT
Wed Feb 02, 2022 3:45 pm
Forum: Common Problems
Topic: Generate an output string modified by a catalog
Replies: 5
Views: 786

Generate an output string modified by a catalog

Because I want to pass a string containing an absolute route to a file as parameter to a Xslt Template which open the document specified in the parameter, I need a way of converting such string into a route using a catalog I explain in Code currently I have an Uri like this "https://www.bancaon...
by FJJCENT
Tue Feb 01, 2022 6:45 pm
Forum: Common Problems
Topic: Testing a catalog
Replies: 5
Views: 738

Re: Testing a catalog

Solved, your solution was correct, there was also a problem with the catalog configuración, was configured for project options, moving to global options it worked.

Many thanks
Francisco
by FJJCENT
Tue Feb 01, 2022 6:26 pm
Forum: Common Problems
Topic: Testing a catalog
Replies: 5
Views: 738

Re: Testing a catalog

I tried also with
<xsl:variable name="rutaDocumentoEntrada"
select="document('http://www.animales/domesticos/europa/perros.xml')" />


but also not result
by FJJCENT
Tue Feb 01, 2022 6:20 pm
Forum: Common Problems
Topic: Testing a catalog
Replies: 5
Views: 738

Re: Testing a catalog

I am very sorry I tried with your way but the result is not OK the catalog doesn't change anything XSL: <xsl:variable name="rutaDocumentoEntrada" select="document(concat('http://www.animales/domesticos/europa', '/perros', '.xml'))" /> Result: http://www.animales/domesticos/europa...
by FJJCENT
Tue Feb 01, 2022 3:03 pm
Forum: Common Problems
Topic: Testing a catalog
Replies: 5
Views: 738

Testing a catalog

Because the catalog is not working well I needed to use absolute address in my project. but now I try to understand how catalog works with Oxygen Xml Editor so I've created a very simple example but it doens't work and I try to know why, so I explain my test the root of the xml file is: <?xml versio...
by FJJCENT
Wed Apr 03, 2019 6:09 pm
Forum: XSLT and FOP
Topic: Problem to save a file to a remote server inside XML
Replies: 3
Views: 2178

Re: Problem to save a file to a remote server inside XML

Thanks to everybody, yes with four slash (file:////...) it works, you solved my problem and I can follow with my proyect.

Again Thanks
Francisco
by FJJCENT
Wed Apr 03, 2019 12:19 pm
Forum: XSLT and FOP
Topic: Problem to save a file to a remote server inside XML
Replies: 3
Views: 2178

Problem to save a file to a remote server inside XML

Hallo everybody, I'm having a problem tryng to generate a file with XSLT and saving later to a remote resource, in te line 127 referenced as error the content is <xsl:result-document href="{$url-guardado}"> and the variable $url-guardado contains -->file://Srv1/share1$/TEST/Worker/TEST/sha...
by FJJCENT
Thu Jun 07, 2018 2:12 pm
Forum: XSLT and FOP
Topic: Get Text from Nodeset
Replies: 5
Views: 4507

Re: Get Text from Nodeset

Thank Adrian, it works an solve my problem, but it's very strange because if I check directly the expresion $cvt/data[$cuenta]/text() it gives the correct data but if Icheck the contains of the variable $uno again yields a nodeset. but for me it's enough <xsl:variable name="cuenta" select=...
by FJJCENT
Thu Jun 07, 2018 12:09 pm
Forum: XSLT and FOP
Topic: Get Text from Nodeset
Replies: 5
Views: 4507

Re: Get Text from Nodeset

I send it <xsl:template name="split"> <xsl:param name="str" select="."/> <xsl:param name="splitString" /> <xsl:choose> <xsl:when test="contains($str,$splitString)"> <data> <xsl:value-of select="substring-before($str,$splitString)"/> </data>...
by FJJCENT
Thu Jun 07, 2018 12:07 pm
Forum: XSLT and FOP
Topic: Convert a string into Array
Replies: 3
Views: 3385

Re: Convert a string into Array

that's ok, I've checked sending a simple string and it worked, the problem was that i had an error in the following line and I thought that it was in this line, but sending a simple string to parameter marked as string* doesn't yield any error.

Best Regards
by FJJCENT
Thu Jun 07, 2018 12:00 pm
Forum: XSLT and FOP
Topic: XSLT 1,0 and Arrays
Replies: 3
Views: 2846

Re: XSLT 1,0 and Arrays

Hi Adrian, you are in reason I'm used to do an split and get the data in an array, but I see that here after getting the array in order to work with it you need to convert it in a node set, i've just done it with msxml:node-set() function and I get twelve nodes, I have just submited a new post expla...
by FJJCENT
Thu Jun 07, 2018 11:33 am
Forum: XSLT and FOP
Topic: Get Text from Nodeset
Replies: 5
Views: 4507

Get Text from Nodeset

Hi everybody, I work in xslt 1..0 and I have just get an Array and convert it to a Node Set by the msxsl:node-set() function so i get an array with 12 elements as you can see in the code, but which sentence I need to introduce for getting an text value of for example position 3 of the array I think ...
by FJJCENT
Thu Jun 07, 2018 12:25 am
Forum: XSLT and FOP
Topic: XSLT 1,0 and Arrays
Replies: 3
Views: 2846

XSLT 1,0 and Arrays

Hi EveryBody, I am working with XSLT 1.0 because it's the only release supported by Visual Studio and i'm having problems with the arrays, I explain in most detail, I have the following string: http://www.enterprise.com/data/department/document.xml and I need to access to document.xml and because th...
by FJJCENT
Fri Jun 01, 2018 12:41 pm
Forum: XSLT and FOP
Topic: Convert a string into Array
Replies: 3
Views: 3385

Convert a string into Array

Hi everybody, I have an small problem with my code and I think it is not very complicated but I don´t find any solution for it in Internet, my questios is that I have a single string data in a variable defined as xs:string <variable name="data" as="xs:string" select="string(...
by FJJCENT
Tue May 29, 2018 10:09 am
Forum: XSLT and FOP
Topic: Accesing C# Code from XSL file
Replies: 2
Views: 2917

Re: Accesing C# Code from XSL file

Hi Adrian, really that I cann't change the Oxygen release because it's the oficial release for my company, the extension between C# and XSLT files work well in Visual Studio and really Works, but without any debug if everything goes well OK but if not you need to guess the reason, so I've checked wi...
by FJJCENT
Tue May 22, 2018 10:09 am
Forum: XSLT and FOP
Topic: Accesing C# Code from XSL file
Replies: 2
Views: 2917

Accesing C# Code from XSL file

Hi everybody, again askin questions, and my question now it's a bit complicates althought also very useful to work in this way, in my company they mix the Xslt code with C# Code so they uses CLITYPE in the namespace of the XSL file in order to access the objects in .Net Libraries so the can use the ...
by FJJCENT
Mon May 21, 2018 3:45 pm
Forum: XSLT and FOP
Topic: Oasis Catalog tutorial and examples
Replies: 6
Views: 4388

Re: Oasis Catalog tutorial and examples

Thank Adrian now I understand better Oasis Catalog and with the import it works, I can follow with my project.

Again thanks.
by FJJCENT
Mon May 21, 2018 3:22 pm
Forum: XSLT and FOP
Topic: Oasis Catalog tutorial and examples
Replies: 6
Views: 4388

Re: Oasis Catalog tutorial and examples

Please let me Know this question in relation with 1) the namespace: xmlns:fart="http://www.pepito.es/remoto/Otracarpeta/Segundo.xsl" 2) the variable calling to a function of the namespace <xsl:variable name="Datos_Segundo" select="fart:devuelveImporte()" /> And the ques...
by FJJCENT
Mon May 21, 2018 2:09 pm
Forum: XSLT and FOP
Topic: Oasis Catalog tutorial and examples
Replies: 6
Views: 4388

Re: Oasis Catalog tutorial and examples

yes it shows some messages, but the catalog includes the line <rewriteURI uriStartString="http://www.pepito.es/remoto" rewritePrefix="file:///C:/Trabajo/Prueba_completa_XLS"/> and the XLS file the following namespace xmlns:fart="http://www.pepito.es/remoto/Otracarpeta/Segund...
by FJJCENT
Mon May 21, 2018 11:49 am
Forum: XSLT and FOP
Topic: Problem in test project with Catalog
Replies: 1
Views: 2091

Problem in test project with Catalog

Hi everybody, with my short experience with Oasis Catalogs I have just created a really simple test in order to understand it's way of working, but inspite of the simplicity it doesn't work and I don't get why, being so simple, could you please have a look, sure tahat you find the reason: the test s...
by FJJCENT
Mon May 21, 2018 1:17 am
Forum: XSLT and FOP
Topic: Oasis Catalog tutorial and examples
Replies: 6
Views: 4388

Oasis Catalog tutorial and examples

Hallo everybody, I'm just starting with Oxygen and with Oasis Catalogs for rewriting Uris, and I see a lot of documentation about how to create a catalog, but my problem is that I don´t find any examples of it's working, anything like with this startUri, this prefix and the following entry uri http:...
by FJJCENT
Tue Apr 24, 2018 10:58 pm
Forum: Common Problems
Topic: Problems with refelxive extension functions (clitype)
Replies: 2
Views: 1840

Re: Problems with refelxive extension functions (clitype)

I've just solve it using ?asm= instead of ?file= and registering the libEmp in the GAC, and it works well in Visual Studio 2015 but not in Oxygen, I think that this kind of extensive functions are not compatible with Oxygen
by FJJCENT
Sun Apr 22, 2018 10:59 pm
Forum: Common Problems
Topic: Problems with refelxive extension functions (clitype)
Replies: 2
Views: 1840

Problems with refelxive extension functions (clitype)

Hello, I am having a problem working with Saxon 9.2 PE and reflexive extension functions, and I see that there is a lot of people with the same problem, so based on the System.Math example I have done a very simple project with only a class Employee inside a library called LibEmployees and the Emplo...