[Home] [By Thread] [By Date] [Recent Entries]
On 2/5/07, San <san_sar@xxxxxxxxx> wrote:
Also, I need to get the namespace from the input document and put it into the root element. For example the input root document : Add the namespaces to your xsl:stylesheet element: <xsl:stylesheet xmlns:ex="http://www.exercise.com" xmlns:per="http://www.adlnet.org/xsd" Then just create the <Metadata> element and the namespaces will be added for you: <xsl:template match="/"> <Metadata> ...will result in: <Metadata xmlns:ex="http://www.exercise.com" xmlns:per="http://www.adlnet.org/xsd"> This might not be what you meant, but I won't guess... cheers andrew
|

Cart



