Search found 4 matches

by rvanderh
Mon Aug 06, 2018 6:40 pm
Forum: XSLT and FOP
Topic: Getting unwanted xmlns prefix in transformation output
Replies: 5
Views: 4421

Re: Getting unwanted xmlns prefix in transformation output

Also, if I delete the xsl:namespace line (line 20) in the stylesheet and instead add a namespace attribute to the doi_batch element above (line 19), the xmlns prefix disappears in the output but then I also get empty xmlns="" added to the head and body elements in the output.
by rvanderh
Mon Aug 06, 2018 6:16 pm
Forum: XSLT and FOP
Topic: Getting unwanted xmlns prefix in transformation output
Replies: 5
Views: 4421

Re: Getting unwanted xmlns prefix in transformation output

Agreed. But name is a required attribute for the namespace element and I don't know how to adjust the value of name so that the prefix :record is omitted. If I adjust lines 11 and 18 in the stylesheet to "OAI-PMH/GetRecord" and then add /record to my value-of expressions in the rest of the...
by rvanderh
Thu Aug 02, 2018 10:00 pm
Forum: XSLT and FOP
Topic: Getting unwanted xmlns prefix in transformation output
Replies: 5
Views: 4421

Getting unwanted xmlns prefix in transformation output

I'm using oXygen XML editor 20.1. We're downloading XML records from a remote site and transforming to a different XML schema. The transformed records then need to be uploaded to a different website (crossref.org). My stylesheet needs to be adjusted so that the namespace elements are correct in the ...