RE: [xsl] Add namespace to element name itself

Subject: RE: [xsl] Add namespace to element name itself
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 18 Nov 2008 12:44:01 -0000
>  Required output XML,
>  	<item-info>
>  		<ce:jid>YFMIC</jid>
>  		<ce:aid>1120</aid>
>  		<ce:pii>S0740-0020(08)00080-4</ce:pii>
>  		<ce:doi>10.1016/j.fm.2008.04.010</ce:doi>
>  		<ce:copyright type="unknown" year="2008"/>
>  	</item-info>

That's not well-formed XML (the ce namespace prefix is not declared), so it
can't be created using XSLT.

Michael Kay
http://www.saxonica.com/

Current Thread