a newbie question..

A

Amir

Hi,

I'm trying to transform an XML file with XSLT and have no success.
The task is to copy elements from the xml source to the target xml.

Here are the files

The XML file looks something like that:

<root>
<element1>
 
D

David Carlisle

The XML file looks something like that:
The XSLT file looks something like that:

If they looked exactly like that the stylesheets would have worked.


With input file as posted and stylesheet as posted plus a trailing

</xsl:stylesheet>


line I get

$ saxon a.xml a.xsl
<?xml version="1.0" encoding="utf-8"?><A><B><qwer><element1>
 

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
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top