Search found 12 matches

by Andreas
Tue Dec 05, 2023 4:34 pm
Forum: XSLT and FOP
Topic: OAI - resumption Token - xsl:iterate
Replies: 1
Views: 348

OAI - resumption Token - xsl:iterate

Hello! I am processing data records from an OAI interface such as https://services.dnb.de/oai/repository?verb=ListRecords&metadataPrefix=oai_dc&from=2023-11-15&until=2023-12-01 . The individual record elements must be processed after a Catalog title is established. At the end of the list...
by Andreas
Fri Mar 20, 2020 4:48 pm
Forum: XSLT and FOP
Topic: Problem: Loading Part of XML-File in Variable
Replies: 8
Views: 3097

Re: Problem: Loading Part of XML-File in Variable

Hi Radu,

the transformation works now. Thank you very much for the clarification about variable behaviour.

Stay healthy and have a nice weekend,

Andreas
by Andreas
Fri Mar 20, 2020 1:50 pm
Forum: XSLT and FOP
Topic: Problem: Loading Part of XML-File in Variable
Replies: 8
Views: 3097

Re: Problem: Loading Part of XML-File in Variable

Hi Radu, thanks for the reply. I'm pretty sure I tinkered with marc:record as well and it didn't work at the time, before I posted the problem with reduced code (the whole script contains about 2500 lines). When I executed the code in the original script this morning it worked again. I don't know. I...
by Andreas
Fri Mar 20, 2020 11:01 am
Forum: XSLT and FOP
Topic: Problem: Loading Part of XML-File in Variable
Replies: 8
Views: 3097

Re: Problem: Loading Part of XML-File in Variable

Here we go: attachment deleted

Thanks!
by Andreas
Fri Mar 20, 2020 10:46 am
Forum: XSLT and FOP
Topic: Problem: Loading Part of XML-File in Variable
Replies: 8
Views: 3097

Re: Problem: Loading Part of XML-File in Variable

Good morning Radu, thanks for the reply! I'm still not sure, where the problem is. I checked the namespace in the transformation with <xsl:message select="namespace-uri($DataToExtract/*)"/> and it gave me the exact namespace I used for "marc". Strangely engouh, when I saved the f...
by Andreas
Wed Mar 18, 2020 6:28 pm
Forum: XSLT and FOP
Topic: Problem: Loading Part of XML-File in Variable
Replies: 8
Views: 3097

Problem: Loading Part of XML-File in Variable

Hello all, I'm having trouble loading parts of an XML-File from an interface in a variable and reuse that variable later. Here's what I'm trying to do: I want to extraxt information from a SRU-interface from the German National Library DNB with an ID that matches a certain criteria https://services....
by Andreas
Thu Aug 01, 2019 3:41 pm
Forum: XML Schemas
Topic: Validators used by Oxygen
Replies: 2
Views: 2665

Re: Validators used by Oxygen

Thanks a million for the quick and concise reply!
by Andreas
Wed Jul 31, 2019 11:24 am
Forum: XML Schemas
Topic: Validators used by Oxygen
Replies: 2
Views: 2665

Validators used by Oxygen

Good morning, just a quick question about the XML validators used by Oxygen. It seems Oxygen uses Jing for RelaxNG-validation and Xerces for XML Schema. Is that right? I did'nt find anything specific in the documentation. And is there a way to choose the validator in a scenario? Shedding some light ...
by Andreas
Tue Jan 22, 2019 12:29 pm
Forum: XML Schemas
Topic: Set global "Let" in embedded RelaxNG/Schematron
Replies: 5
Views: 4030

Re: Set global "Let" in embedded RelaxNG/Schematron

Are there any further ideas out there, why the new code wouldn't let me set a global variable?
by Andreas
Fri Jan 18, 2019 1:01 pm
Forum: XML Schemas
Topic: Set global "Let" in embedded RelaxNG/Schematron
Replies: 5
Views: 4030

Re: Set global "Let" in embedded RelaxNG/Schematron

Hello Octavian, thanks for the answer! I know that the standard Schematron doesn't allow me to set global let-variables. That's why I changed the Code in "RNG2Schtrn.xsl" (Change under *NEW*) <xsl:template name="outputRNG"> <xsl:param name="schemas"/> <!-- --> <xsl:choo...
by Andreas
Thu Jan 17, 2019 5:19 pm
Forum: XML Schemas
Topic: Set global "Let" in embedded RelaxNG/Schematron
Replies: 5
Views: 4030

Re: Set global "Let" in embedded RelaxNG/Schematron

I'm still working on this issue, hence the follow-up question:

Is it possible to see the result of RNG2Schtrn.xsl? Does Oxygen produce log-files?

The validation message doesn't give much information "Errors were reported during stylesheet compilation" isn't very helpful in this case.
by Andreas
Wed Jan 16, 2019 7:15 pm
Forum: XML Schemas
Topic: Set global "Let" in embedded RelaxNG/Schematron
Replies: 5
Views: 4030

Set global "Let" in embedded RelaxNG/Schematron

Hi, I'd like to set a global Schematron sch:let-variable in an embedded Relax NG-Schema. Since this isn't supported by the standard-implementation, I've tried follow the steps in https://www.oxygenxml.com/forum/post33302.html and to alter the RNG2Schtrn.xsl and add <sch:schema> [...] <xsl:for-each s...