Hi Hugh,
Did you see Christian’s reply, archived at
https://mailman.uni-konstanz.de/pipermail/basex-talk/2018-August/013490.html?
He essentially said that, for your second approach, he saw the same
behavior on BaseX 9.x as I saw on 8.6.5. So there doesn’t seem to be a
regression.
I agree
Hi Hugh,
> I understand, but did you see the details of my second attempt? The
> serialization controls didn’t work when specified in XQuery either.
I don’t get XPST0081 for this query (as indicated in a previous reply
of mine). Could you please clarify first if the unchanged query you
supplied v
>
>
> From: BaseX-Talk on behalf of
> Hugh Guiney
> Sent: Wednesday, August 1, 2018 5:47:55 PM
> To: Imsieke, Gerrit, le-tex
> Cc: basex-talk@mailman.uni-konstanz.de
> Subject: Re: [basex-talk] Can't get `cdata-section-elements` to work a
/docs.basex.org/wiki/File_Module#file:write-text
From: BaseX-Talk on behalf of Hugh
Guiney
Sent: Wednesday, August 1, 2018 5:47:55 PM
To: Imsieke, Gerrit, le-tex
Cc: basex-talk@mailman.uni-konstanz.de
Subject: Re: [basex-talk] Can't get `cdata-section-elements`
Thanks for testing Gerrit, that's good to know. Sounds like a
regression then. Shall I go ahead and file this on Github or does it
need further confirmation?
Christian, your suggestion seems to work around the issue; the CDATA
sections do come in that way. Except, all the elements get sent back
en
Thanks, Gerrit, for testing the query with BaseX 8.6.5. I just tried
9.0.2 and 9.1 beta, and it runs successfully on my machine as well.
The result:
http://backend.userland.com/rss2";
xmlns:content="http://purl.org/rss/1.0/modules/content/";
version="2.0">
I get the reported error mess
Hi Hugh,
The second version where you specify the serialization options in XQuery
works for me (BaseX GUI 8.6.5 with Saxon PE 9.6.0.7):
http://backend.userland.com/rss2";
xmlns:content="http://purl.org/rss/1.0/modules/content/"; version="2.0">
The first version cannot generate CD
Hi Hugh,
Welcome to the list.
If you want to return the Saxon result as-is, you could try to use
xslt:transform-text instead of xslt:transform.
I’ll have a closer look at your second attempt next day.
Best,
Christian
Hugh Guiney schrieb am Mi., 1. Aug. 2018, 21:17:
> Hello,
>
> First off
Hello,
First off, loving BaseX so far! Using it as the backend for an API I’m
building. However, I’m running into an issue. I’m trying to transform
my database XML into an RSS 2.0 feed. It’s mostly working fine, but I
can’t output CDATA content at all, which I need to do for
`content:encoded` elem
9 matches
Mail list logo