|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Réf . : RE: [ xsl ] XML tags to XML attributes with X
Hello,
Thanks for the answer but it does not work. I get
<?xml version="1.0" encoding="ISO-8859-1"?>
<Message id="14245">
14245ACCEPTTASKSbertin15/10/2003
<Process name="ACCEPTTASKS" userid="bertin" dateemission="15/10/2003"
id2="4321">
<Task id="1243"/>
</Process>
</Message>
which is kind of strange. Attributes are passed to the child and it prints
their value
in the node text (which i do not want).
Any idea why ?
Thanks !
Laurent Bertin
Jarno.Elovirta@xxxxxxxxx
Envoyé par : Pour : <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
owner-xsl-list@xxxxxxxxxxxx cc :
rytech.com Objet : RE: XML tags to XML attributes with XSL
22/10/2003 10:25
Veuillez répondre à
xsl-list
Hi,
> <xsl:template match="*">
> <xsl:copy>
Add <xsl:copy-of select="@*"/>
> <xsl:apply-templates select="Attributes"/>
> <xsl:apply-templates select="* | text()"/>
> </xsl:copy>
> </xsl:template>
Cheers,
Jarno - Madam Zu: August 2003 Part 1
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








