Re: Acces nodes [help]
On 10/31/05, Ana Gaspar Martmnez <annagaspar@xxxxxxxxx> wrote:Hi again,
I write the complete xml file...
i would like to obtain every nodes inside the word node(word1, word2) and compare it with the current()(the word at xml file) to know if this is the word to change. Then, with the param value i obtain the corresponding item of the list.(one, two) and i write the value of this node. For example if $number=2 and <find-list>word1<find-list> it must return cat...
When i write document(../list.xml) it does not return the list node or the word node, it returns the house, little, etc. My problem is that i don't know how to obtain the word node to examinate it and compare with the xml file word.
Sorry about me, i never use xslt before and ....:s:s sorry about my enghish too.
PD: i tried <xsl:copy-of select="document('../list.xml')"/> and it returns only the little, bigger, house and cat nodes. It doesn't wirte the list and word nodes.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format