Hello,
I'm experiencing a problem in doing XSL
transformations from a XMLSchema document to another XML.
I'm using XMLSpy with the Xalan XSLT
processor.
The thing is that with the next header in the
XMLSchema:
<schema
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.themindelectric.com/package/es.promofinarsa.eodin.core.convocatoria/">
and the following header for the XSL
document:
<xsl:stylesheet xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xalan="http://xml.apache.org/xslt"
version="1.0">
the WHOLE XML resultant document would look wrong like
this:
<?xml version="1.0" encoding="UTF-8"?>
<scr
xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"/>
The transformation works PERFECTLY when I take out
xmlns="http://www.w3.org/2001/XMLSchema"
from the schema header.
But I don't think is a good thing to take the schema namespaces out from
its header, ISN'T IT?
Any help would be appreciated.
Kind regards,
Oscar.