Dear friends,
is there someone could help me ...
What is wrong with my XSL file which is converting an XML file into fixed-length output ?
Because I get 1 empty line before & after the fixed-length data.
Here's my XML
and my XSL
the result i got
Thanks alot
Regards,
JJ
is there someone could help me ...
What is wrong with my XSL file which is converting an XML file into fixed-length output ?
Because I get 1 empty line before & after the fixed-length data.
Here's my XML
Code:
<library>
<book>
<style>Z79</style>
<title>Judul Judul</title>
</book>
<book>
<style>V00333</style>
<title>Judul Judul 2323</title>
</book>
</library>
and my XSL
Code:
<xsl:stylesheet version="1.0" xmlns:xsl="[URL unfurl="true"]http://www.w3.org/1999/XSL/Transform">[/URL]
<xsl:output method="text" omit-xml-declaration="yes" indent="no" encoding="ISO-8859-1"/>
<xsl:template match="book">
<xsl:value-of select="substring(concat(style,' '),1,10)"/>
<xsl:value-of select="substring(concat(title,' '),1,10)"/>
</xsl:template>
</xsl:stylesheet>
the result i got
Code:
Z79 Judul Judu
V00333 Judul Judu
Thanks alot
Regards,
JJ