copy elements with all attributes...

Hi there,
 
I have an XML file with a XSL stylesheet whick looks like this:
 
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="person.xsl"?>
<iese:person xmlns:iese="http://www.iese.fhg.de"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.iese.fhg.de
C:\projects\person_and_publication_xlink\person.xsd">
       <iese:firstname>Nikolas</iese:firstname>
       <iese:lastname>Nehmer</iese:lastname>
       <iese:author_of xlink:type="simple" xlink:show="new"
xlink:href="publication.xml"/>
</iese:person>
 
 
 
Now I want my XSL rules process the following output:
...
<iese:author_of xlink:type="simple" xlink:show="replace"
xlink:href="publication.xml">Some Text</iese:author_of>
...
 
 
How do I achieve this? Do I have to use the xsl:copy
and"use-attribute-sets"? Or is it possible to inherit the whole element
with all it's attributes and attribute values. I would be very happy
about some help.
 
Greetz,
Nick
 

Received on Monday, 12 January 2004 18:27:18 UTC