HI Stefen,
I had one XSL question,i have seen in the blogs you have given correct answers regarding the XSLT.
My requirement is the source file is :
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8"/>
<ns0:Esri_Identify
xmlns:ns0="http://ottawa.ca/ecc/esri/ecctoesri">
<Identify>
<MapDescription>
<Name/>
<Rotation/>
</MapDescription>
<MapImageDisplay>
<ImageHeight/>
<ImageWidth/>
<ImageDPI/>
</MapImageDisplay>
<SearchShape>
<X/>
<Y/>
</SearchShape>
<Tolerance/>
<IdentifyOption/>
<LayerIDs>
<Int/>
</LayerIDs>
</Identify>
</ns0:Esri_Identify>
and expected is :
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8"/>
<ns0:Esri_Identify
xmlns:ns0="http://ottawa.ca/ecc/esri/ecctoesri">
<Identify>
<MapDescription>
<Name/>
<Rotation/>
</MapDescription>
<MapImageDisplay>
<ImageHeight/>
<ImageWidth/>
<ImageDPI/>
</MapImageDisplay>
<SearchShape xmlns:q4="http://www.esri.com/schemas/ArcGIS/10.0" xsi:type="q4:PointN" xmlns="">
<X/>
<Y/>
</SearchShape>
<Tolerance/>
<IdentifyOption/>
<LayerIDs>
<Int/>
</LayerIDs>
</Identify>
</ns0:Esri_Identify>
I need to pass the name space for searchshape element, can you please help me in this regard.
Thanks,