Project

Profile

Help

Support #4889

closed

Extra namespaces added when using the serialize function

Added by fouad MOUTASSIM about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Saxon extensions
Sprint/Milestone:
Start date:
2021-02-03
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

Hi,

we are trying to do an XML transform and when we call the serialization function to convert the XML result to a string we find some extra namespaces that we don't need. Could you please tell us how to get serialized result without additional namespaces. we are using the 10.4 release (saxon-ee-10.4.jar).

Please find attached the following:

  • The input (payload.xml)
  • The XSLT Map (Catalog_TO_GBO.xslt)
  • The result (Result.xml) and a screenshot (Result.JPG) with the namespaces marked in yellow

Thank you in advance.


Files

Catalog_TO_GBO.xslt (2.93 KB) Catalog_TO_GBO.xslt fouad MOUTASSIM, 2021-02-03 19:41
payload.xml (1.18 KB) payload.xml fouad MOUTASSIM, 2021-02-03 19:41
Result.xml (1.97 KB) Result.xml fouad MOUTASSIM, 2021-02-03 19:41
Result.JPG (142 KB) Result.JPG fouad MOUTASSIM, 2021-02-03 19:41

Please register to edit this issue

Also available in: Atom PDF