Search found 18 matches

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: 105

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: 105

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/share_test/di...
by FJJCENT
Thu Jun 07, 2018 2:12 pm
Forum: XSLT and FOP
Topic: Get Text from Nodeset
Replies: 5
Views: 1268

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="count($To...
by FJJCENT
Thu Jun 07, 2018 12:09 pm
Forum: XSLT and FOP
Topic: Get Text from Nodeset
Replies: 5
Views: 1268

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> <xsl:call-template name="split"> <xsl:with-param name="str"...
by FJJCENT
Thu Jun 07, 2018 12:07 pm
Forum: XSLT and FOP
Topic: Convert a string into Array
Replies: 3
Views: 1073

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: 1054

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: 1268

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: 1054

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: 1073

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('Spain')" /> and I need t...
by FJJCENT
Tue May 29, 2018 10:09 am
Forum: XSLT and FOP
Topic: Accesing C# Code from XSL file
Replies: 2
Views: 1147

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: 1147

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: 1389

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: 1389

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 question is, are you telling me th...
by FJJCENT
Mon May 21, 2018 2:09 pm
Forum: XSLT and FOP
Topic: Oasis Catalog tutorial and examples
Replies: 6
Views: 1389

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/Segundo.xsl" And it doesn't sho...
by FJJCENT
Mon May 21, 2018 11:49 am
Forum: XSLT and FOP
Topic: Problem in test project with Catalog
Replies: 1
Views: 835

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: 1389

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: 767

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: 767

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...