Extracting portion of xml
Posted: Wed Aug 23, 2006 11:30 am
Hey,
I'm working with an xml feed which contains portions of rss, latex and mathML. I'm trying to create a gif image using the mathML portions, by passing to a binary using system() (php). Problem is, i see no way of extracting the xml using xslt and preserving the tags, ie doing a <xsl:value-of select="blah"> results in the text nodes of the children returned. Thought there must be a way of selecting a nodeset and then calling a function to kind of serialize it back into xml as text.
Probably more of a xsl problem, but any help would be great. Don't wanna be parsing the document myself to be honest
I'm working with an xml feed which contains portions of rss, latex and mathML. I'm trying to create a gif image using the mathML portions, by passing to a binary using system() (php). Problem is, i see no way of extracting the xml using xslt and preserving the tags, ie doing a <xsl:value-of select="blah"> results in the text nodes of the children returned. Thought there must be a way of selecting a nodeset and then calling a function to kind of serialize it back into xml as text.
Probably more of a xsl problem, but any help would be great. Don't wanna be parsing the document myself to be honest