|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:namespace-alias QUESTION
Hello all!
1. I need to transform XML file into XSLT stylesheet which I will then use
to transform other XML files into HTML files. How do I accomplish this ?
2. I have tried an example included in
http://www.w3.org/TR/1999/PR-xslt-19991008 but in resulting XSLT stylesheet
I have 'axsl' namespace names instead of 'xsl'.
3. What do I do wrong?
3a. I use the latest James Clark's xt.exe for Windows 32. (it's Sunday,
November 07, 1999 5:20:22 PM)
Andrius
PS. Here is a style sheet I use for transformation.
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:axsl="http://www.w3.org/1999/XSL/TransformAlias">
<xsl:namespace-alias stylesheet-prefix="axsl" result-prefix="xsl"/>
<xsl:template match="/">
<axsl:stylesheet>
<xsl:apply-templates/>
</axsl:stylesheet>
</xsl:template>
</xsl:stylesheet>
PPS.
Here is what I get:
<?xml version="1.0" encoding="utf-8"?>
<axsl:stylesheet xmlns:axsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
...
</axsl:stylesheet>
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
|

Cart








