xsl-list
[Top] [All Lists]

Re: problem with URN please help (very urgent)!!

2003-06-15 07:00:15
Hi Mike,
Thank you a lot for answering me. It did really work.
But i have a little question. it is possible to reduce  a path like :
vis:Visiodocument/vis:Pages/vis:Page[0]/vis:shapes/vis:shape
by avoiding the writing of the vis prefix before each element ?
thanks again.


From: Mike Brown <mike(_at_)skew(_dot_)org>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] problem with URN please help (very urgent)!!
Date: Sat, 14 Jun 2003 09:56:06 -0600 (MDT)

taha taha wrote:
> I have an xml document with a namespace that do not allow me to do
> transformation.

Very simple...

  <xsl:transform version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    xmlns:vis="urn:schemas-microsoft-com:office:visio">

...

   <xsl:template match="vis:VisioDocument">
    <coco>
     <xsl:value-of select="vis:toto" />
    </coco>
   </xsl:template>

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


_________________________________________________________________
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