D
D
darzet2011-04-05 16:05:55
XPath
darzet, 2011-04-05 16:05:55

Converting 2x XML to one XSL

There are two xml documents, you need to process them with one xsl file.
How can I refer to different elements in different xml documents?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
rPman, 2011-04-05
@rPman

www.w3schools.com/Xsl/func_document.asp

<xsl:value-of select="document('celsius.xml')/celsius/result[@value=$value]"/>

D
darzet, 2011-04-05
@darzet

Thank you.
Too bad it's something else =(

D
darzet, 2011-04-05
@darzet

In one of the xml, this is the code.
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env=" schemas.xmlsoap.org/soap/envelope/ ">
<env:Header/>
<env:Body>
OK
Pour off sample successfully finished
50394782517
50394782521
</env:Body>
</env:Envelope>
I can't get to it with XPath. Swears at {env}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question