| Subject: | Re: simplifying transform |
|---|---|
| From: | David Schwartz |
| Date: | Mon, 21 Jul 2008 16:59:29 -0700 PDT |
| Newsgroups: | comp.text.xml |
Thanks for your help Martin. I'd like to explore this in steps if
possible. So when I execute the following transform, I don't get any
attributes. Any ideas as to why? Shouldn't I get all the nodes in
their original state?
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
extension-element-prefixes="redirect">
<xsl:template match="@* | node()">
<redirect:write file="transformed.xml">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</redirect:write>
</xsl:template>
TIA!
David
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | xs:choice and child elements with minOccurs=0, Peter Larsen |
|---|---|
| Next by Date: | Re: SAX Parser for creating (not parsing) XML document, Naresh Agarwal |
| Previous by Thread: | Re: simplifying transform, Martin Honnen |
| Next by Thread: | Re: simplifying transform, David Carlisle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |