Re: [xsl] Beginner: adding xmlns:mml attribute

Subject: Re: [xsl] Beginner: adding xmlns:mml attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 9 Jan 2003 10:07:08 GMT
using CDATA is _exactly_ the same as not using CDATA and writing each <
and & as &lt; and &amp;

so if you put

<![CDATA[ <?import namespace="mml" implementation="#MathPlayer" ?> ]]>

into your stylesheet and get out


&lt;?import namespace="mml" implementation="#MathPlayer" ?&gt;


Then that is correct.

to generate a processing instruction you need to use the xsl:processing
instruction command.

The stylesheet
http://www.w3.org/Math/XSL/pmathml.xsl

has an example of this, adding exactly that processing instruction.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread