Project

Profile

Help

Support #5254 » SvgNamespaceOutput.txt

Test Output - Dansker Dave, 2022-01-30 14:12

 
Data XML...............:
<?xml version="1.0" encoding="UTF-8"?><DataNodeName/>

Stylesheet.............:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"

version="3.0">

<xsl:template match="DataNodeName">
<fo:root>
<fo:layout-master-set>
<fo:simple-page-master master-name="singlePage" page-width="297mm" page-height="210mm">
<fo:region-body margin-left="2.19mm" margin-top="6.75mm"/>
</fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="singlePage">
<fo:flow flow-name="xsl-region-body">
<fo:block>
<fo:instream-foreign-object content-width="272.6mm" content-type="image/svg+xml">
<svg xmlns="http://www.w3.org/2000/svg" width="1184" height="775" viewBox="0 0 1184 775">
<g style="fill-opacity:0;stroke-width:7;stroke:red">
<rect width="254" height="99"/>
</g>
</svg>
</fo:instream-foreign-object>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
</xsl:stylesheet>

DocumentBuilderFactory.: class com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
DocumentBuilder........: class com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl
Document...............: class com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl
TransformerFactory.....: class net.sf.saxon.TransformerFactoryImpl
FO Bytes...............:
<?xml version="1.0" encoding="UTF-8"?><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"><fo:layout-master-set><fo:simple-page-master master-name="singlePage" page-height="210mm" page-width="297mm"><fo:region-body margin-left="2.19mm" margin-top="6.75mm"/></fo:simple-page-master></fo:layout-master-set><fo:page-sequence master-reference="singlePage"><fo:flow flow-name="xsl-region-body"><fo:block><fo:instream-foreign-object content-type="image/svg+xml" content-width="272.6mm"><svg xmlns="http://www.w3.org/2000/svg" height="775" viewBox="0 0 1184 775" width="1184"><g xmlns="" style="fill-opacity:0;stroke-width:7;stroke:red"><rect height="99" width="254"/></g></svg></fo:instream-foreign-object></fo:block></fo:flow></fo:page-sequence></fo:root>
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="singlePage" page-height="210mm" page-width="297mm">
<fo:region-body margin-left="2.19mm" margin-top="6.75mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="singlePage">
<fo:flow flow-name="xsl-region-body">
<fo:block>
<fo:instream-foreign-object content-type="image/svg+xml" content-width="272.6mm">
<svg xmlns="http://www.w3.org/2000/svg" height="775" viewBox="0 0 1184 775" width="1184">
<g xmlns="" style="fill-opacity:0;stroke-width:7;stroke:red">
<rect height="99" width="254"/>
</g>
</svg>
</fo:instream-foreign-object>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
(2-2/3)