html embedded in xml solution!? output to xsl-fo
Posted: Wed Nov 08, 2006 11:12 am
so i have this bit of xml
<people>
<females> <h3>Jane<p>Clare</p> Mirna </h3> </females>
</people
and I want to extract the text and apply templates to the "h3" and "p" tags, that is i would like to replace the h3 tags with <fo:inline> elements and p with <fo:block>
Now I know that there is a saxon:parse() function but that will only work with well formed xml documents. I need to be able to generate a result tree frag or a nodeset?
Not sure about all of this, if anyone knows a goog tut then I would be very grateful, I must say that this forum is way more tech savy than stylus studio nobs
<people>
<females> <h3>Jane<p>Clare</p> Mirna </h3> </females>
</people
and I want to extract the text and apply templates to the "h3" and "p" tags, that is i would like to replace the h3 tags with <fo:inline> elements and p with <fo:block>
Now I know that there is a saxon:parse() function but that will only work with well formed xml documents. I need to be able to generate a result tree frag or a nodeset?
Not sure about all of this, if anyone knows a goog tut then I would be very grateful, I must say that this forum is way more tech savy than stylus studio nobs