xsl-list
[Top] [All Lists]

Re: Beginner: adding xmlns:mml attribute

2003-01-09 03:07:08

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