Subject: Re: [xsl] find the name of the child after root From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 06 Nov 2013 12:36:24 +0000 |
There is still one issue, cause the root elment is dnamiccaly , sometimes I need to get the root name: <xsl:variable name="Root"> <xsl:value-of select="/node()[1]/name()"/> </xsl:variable>
I try it in output <tesTag> <xsl:value-of select="$Root"/> </tesTag>
As Result I get the right root name, RootElement but the namespace in the output coccures too: <tesTag xmlns:ns1=http://xmlns.oracle.com/applicaation/mu/v1"/>RootElement</tesTag>
The namespace is not in the XML,. it is actually defined in the XSL stylesheet header!!
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] find the name of the chi, henry human | Thread | Re: [xsl] find the name of the chi, henry human |
Re: [xsl] find the name of the chi, henry human | Date | Re: [xsl] JSON-encoding strings in , Hermann Stamm-Wilbra |
Month |