I'm experiencing the following problem
The source xml file uses a prefix (wpl:) and look like this (shortened):
-----------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<wpl:Destinatio ns xmlns:wpl="www. sapportals.com/portal/landscape"
xmlns:xsi="http ://www.w3.org/2000/10/XMLSchema-instance"
xsi:schemaLocat ion="wpl_jco_de stionations_v10 .xsd">
<wpl:Destinatio n name="SAP_R3_Fi nancials_DEV200 ">
<wpl:SYSTEM>ZSE CDS1200</wpl:SYSTEM>
<wpl:MSHOST>sec acsap</wpl:MSHOST>
<wpl:R3NAME>DS1 </wpl:R3NAME>
<wpl:CLIENT>200 </wpl:CLIENT>
</wpl:Destination >
-----------------------------------------------------------------
The xsl file i created loos like this:
----------------------------------------------------------------
<?xml version="1.0" ?>
<wpl:styleshe et xmlns:wpl="http ://www.w3.org/1999/XSL/Transform"
version="1.0">
<wpl:output method="text"/>
<wpl:template match="Destinat ion">
<wpl:value-of select="@name"/>
</wpl:template>
</wpl:stylesheet>
-------------------------------------------------------------------
I then run
xalan -o output.txt jcoDestinations .xml jcoDestinations .xsl
I would expect the output to be
SAP_R3_Financia ls_DEV200
however the output is:
ZSECDS1200
secacsap
DS1
200
I removed all the "wpl:" from the source, changed the xls to use "xsl"
rather than "wpl". This produces the expected output.
Is this a bug, or am I doing somthing wrong?
Regards
Jacques