[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to select a document element from the input xml fi

Subject: How to select a document element from the input xml file using xslt?
From: "Belkin, Alla" <abelkin@xxxxxxxxxxx>
Date: Mon, 12 Jul 2004 13:51:49 -0500
xml document element
Hello,
I am using a stylesheet for modifications of the input xml file to the
different format of the xml file.
My output file should have a document element, the same as in the input
file. How to copy a document element? I can have input XMLs with
different document elements. I tried to do something like this, but it
doesn't work:

<xsl:choose>
	<xsl:when test="count(//Delete)  &gt; 0">
		<xsl:output method="xml"
doctype-system="http://delete.dtd"/>
	</xsl:when >
	<xsl:when test="count(//Delete) = 0">
		<xsl:output method="xml"
doctype-system="http://update.dtd"/>
	</xsl:when>
</xsl:choose>
Please, help

Thank you,

Alla Belkin

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.