Subject:getting an xml from an inner node Author:peleg k Date:15 May 2007 04:47 PM Originally Posted: 15 May 2007 04:48 PM
i have xml like this :
<root>
<sub1>
....
</sub1>
<data>
<xml1>
<x1>aaa</x1>
<x2>bbb</x2>
</xml1>
</data>
</root>
and i am trying to get from the above xml the "xml1" xml.
i do this by :
but instead of getting the xml1 in 1 line i recive only the nodes value like :
aaabbb
later on i got some help and got XSL file that suppose to do the work.
the proble is that i recive from on one xml an xml but on the other i recive :
Access is denied. Error processing resource 'file:///C:/temp/peleg.xsl'.
any idea why?
(i have attched the 2xml+xsl)
i checked and thee is no diffrence maybe some else will know why?
For me both XML files work, maybe you should try to move your files to a different path, best simply to C:\ to be sure that's not where the error comes from?