in reply to Re^3: Parse with XML::Simple: how to keep some tags "unparsed"?
in thread Parse with XML::Simple: how to keep some tags "unparsed"?
Or you can write some XSLT that transforms the content nested data into what I described above.
Show the XSLT - you know what happens if you don't ;-):
<?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <xsl:output cdata-section-elements="content"/> <xsl:template match="/"> <page> <xsl:attribute name="id"><xsl:value-of select="page/@id" / +> </xsl:attribute> <content> <xsl:apply-templates /> </content> </page> </xsl:template> </xsl:stylesheet>
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Parse with XML::Simple: how to keep some tags "unparsed"?
by exussum0 (Vicar) on Jul 01, 2004 at 14:39 UTC |