Basically doing what tsuji has suggested has worked but has caused another problem.
Which is that i've lost the ability to convert <br/> tags within my node to new lines.
At the top of my file I do a template-match to convert all <br/> tags into new lines
<xsl:template match="/DOCUMENT/*/br">...
That works, however if i do that my "template match" rules will not apply to that node
I'm using template match to replace <br/> tags with actual new lines for a textarea......
e.g.
<xsl:template match="DOCUMENT/INTRO/br">
.....
</xsl:template>
<xsl:template match="DOCUMENT/INTRO/text()/br">...
Hi guys
i've got an xml file which is structured like below
<intro>
<abstract>here's my abstract</abstract>
and here is my intro
</intro>
I want to be able to extract "and here is my intro" from this xml file - without extracting the contents of the abstract node.... Can anyone give me any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.