P
Pathik
HI all,
I have a program which extracts elements from xml file and puts in
different xml file in different format , this is done by java program
using xsl file.
my i/p xml is like:
<NewData xmlns:--------namespace declaration<element1></element1>
<mynamespace:element2 obs="1234"/>
---
--
</NewData>
Now, in my xsl file what i did, is first declared namespace same as in
i/p xml file.
then
i wrote the xpath expression like: NewData/mynamespace:element1
but i am not able to extract data from element1
what is the problem? is it right way of doing?
Pleas help me.
Pathik
I have a program which extracts elements from xml file and puts in
different xml file in different format , this is done by java program
using xsl file.
my i/p xml is like:
<NewData xmlns:--------namespace declaration<element1></element1>
<mynamespace:element2 obs="1234"/>
---
--
</NewData>
Now, in my xsl file what i did, is first declared namespace same as in
i/p xml file.
then
i wrote the xpath expression like: NewData/mynamespace:element1
but i am not able to extract data from element1
what is the problem? is it right way of doing?
Pleas help me.
Pathik