Hank,

The Text Serializer implements the XSLT 1.0 "Text Output Method". If you want to output an XML document as is, you have to use the XML Serializer.

-Erik

Hank Ratzesberger wrote:
----- Original Message ----- From: "Damon Rand"



You need to use <xsl:namespace-alias>. eg.


Thank you, that does seem to be a good alternative, and one that I could control the namespace a little easier.

As it turns out, this transform is working just fine on the command line. However, after trying to look at it through a web app and the text-serializer, I get results that look like the default xsl behavior (return
the value-of all elements).


I thought the serializers would return the document as-is.

--Hank


However, my first problem is that I cannot get oxf to transform the xhtml into xsl, even though it works on the xalan command line:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:xforms="http://www.w3.org/2002/01/xforms";
xmlns:d="http://orbeon.org/oxf/xml/document";
xmlns:xhtml="http://www.w3.org/1999/xhtml";> <xsl:output method="xml"/>
<xsl:template match="/xhtml:html">
<xsl:element name="xsl:stylesheet" >
<xsl:copy-of select="."/>
</xsl:element>
</xsl:template>


</xsl:stylesheet>


_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users


_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to