[xsl] problem with URN please help (very urgent)!!

Subject: [xsl] problem with URN please help (very urgent)!!
From: "taha taha" <taha1793@xxxxxxxxxxx>
Date: Sat, 14 Jun 2003 11:01:54 +0000
Hi all,
I have an xml document with a namespace that do not allow me to do transformation.
Here's the example of the XML file and the XSLT one (the problem is the urn beside the tag VisioDocument).
----------------------------------------------------test.xml---------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
<?integrity app='Visio' version='10.0' buildnum='525' metric='1' key='3A' keystart='261' ?>
<VisioDocument xmlns="urn:schemas-microsoft-com:office:visio">
<toto>waloo</toto>
<momo>xxxxx</momo>
</VisioDocument>


----------------------------------------------------test.xsl---------------------------------------------------------------------------------
<?xml version="1.0" ?>
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:output indent="yes" method="xml" encoding="iso-8859-1" />
<xsl:template match="/">
<XMI>
<XMI.content>
<xsl:apply-templates />
</XMI.content>
</XMI>
</xsl:template>
<xsl:template match="VisioDocument">
<coco>
<xsl:value-of select="/schemas-microsoft-com:toto" />
</coco>
</xsl:template>
</xsl:transform>
---------------------------------------------------------------------------------------------------------------------------------------
Please help me ! it's urgent.
Thanks in advance.


_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread