XSLT problem

T

Tech

Hello,

I want to transfer a XML node with a XSL stylesheet into another XML
document like this:

source XML...
---------------------------
....
<flowText font-size="20" xml:space="preserve"
xmlns="http://xml.apache.org/batik/ext">
Hello World
</flowText>
....

xsl...
---------------------------
....
<xsl:template match="flowText ">
Test...
<xsl:apply-templates/>
</xsl:template>
....

result XML (I want to see this...)
----------------------------
Test... Hello World


(but I see nothing)
-----------------------------


I think the processor can´t find the node because of this
"xml:space="preserve" xmlns="http://xml.apache.org/batik/ext"
attribute! Did anybody know a solution of my problem?

THX
 
P

Patrick TJ McPhee

[...]

% result XML (I want to see this...)
% ----------------------------
% Test... Hello World

In addition to the name-space issue mentioned in another reply, this is
not XML. You'll need <xsl:eek:utput method='text'/> at the top of the style
sheet to get this output.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,143
Messages
2,570,821
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top