You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Nicholas Sushkin <ni...@scientist.com> on 2001/03/28 21:12:24 UTC

strip whitespace from a document included using xsd:document()

Hi,

I'd like to strip all whitespace from the xml resulting from the following
xsl:

<xsl:strip-space elements="xsd:schema xsd:complexType xsd:sequence
xsd:simpleType"/>
<xsl:copy-of select="document('myschema.xsd')"/>

However, Xalan J1 only strips whitespace from the root element xsd:schema,
not from any subelements. Is there a way to get a completely
whitespace-stripped document?

Thanks,

Nick.