[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Using XSLT to Append a XML Document to a Master XM
> > Is it possible (using a xslt stylesheet) to append the > content of one xml > doc to the end of a master xml doc? > I want to take the following code & append it to a master XML > doc within the > root element <library> Yes: <xsl:template match="library"> <xsl:copy-of select="node()"/> <xsl:copy-of select="document('other.xml')"/> </xsl:template> Mike Kay Software AG > > <!-- --> > <book type="Hardcover" style="Fiction" variant="Book" id=""> > <title>The Last Precinct</title> > <sub_title>The New Scarpetta Novel</sub_title> > <author first_name="Patricia" middle_name="" > last_name="Cornwell">1</author> > <illustrator /> > <image_link>marker.gif</image_link> > <description>Forensic Pathology</description> > <isbn>0-316-64624-5</isbn> > <genre>Crime</genre> > <publisher>Little, Brown & Company</publisher> > </book> > > Thanks, > Oliver Reid > Perth, Western Australia > dante@xxxxxxxxxxxxx > www.vianet.net.au/~dante > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|