This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
No Output using apply-template
- To: XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] No Output using apply-template
- From: Wabei Wabei <wabei at yahoo dot com>
- Date: Wed, 18 Apr 2001 15:07:16 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello All,
I tried to use the stylesheet to input a problem and
was unable to open the document so please bear with me
for using regular mail.
I am verynew at this XSL and desparately need HELP. I
am unable to get any output to show up when I run my
XSL through the XML when I use the specified xsl
stylesheet:
xmlns:xsl="http://www.w3.org/1999/XSL/Transform
XSL code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:fotex="http://www.tug.org/fotex"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
XML except code:
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
<?xml-stylesheet href="./invoice.short.name.xsl"
type="text/xsl" ?>
<invoice>
<POID>0.0.0.1 /bill 8339 3</POID>
<BILLINFO elem="0">
<CREATED_T>986943131</CREATED_T>
<MOD_T>986944762</MOD_T>
<BILL_NO>B1-1</BILL_NO>
<CURRENCY>840</CURRENCY>
<CURRENT_TOTAL>600</CURRENT_TOTAL>
<END_T>989467200</END_T>
<PARENT>0.0.0.0 0 0</PARENT>
<PREVIOUS_TOTAL>0</PREVIOUS_TOTAL>
<START_T>986943130</START_T>
<SUBORDS_TOTAL>0</SUBORDS_TOTAL>
<TOTAL_DUE>600</TOTAL_DUE>
<CURRENCY_SECONDARY>0</CURRENCY_SECONDARY>
<FLAGS>0</FLAGS>
<BILL_OBJ>0.0.0.1 /bill 8339 3</BILL_OBJ>
</BILLINFO>
<NAMEINFO elem="1">
<SALUTATION></SALUTATION>
<LAST_NAME>fee1</LAST_NAME>
<FIRST_NAME>late</FIRST_NAME>
<MIDDLE_NAME></MIDDLE_NAME>
<TITLE></TITLE>
<COMPANY></COMPANY>
<ADDRESS>late fee1</ADDRESS>
<CITY>toronto</CITY>
<STATE>MO</STATE>
<ZIP>63746</ZIP>
<COUNTRY>USA</COUNTRY>
<NAME>late fee1</NAME>
</NAMEINFO>
</invoice>
Any help would be greatly appreciated. If I use the
http://www.w3.org/1999/TD/WD-xsl stylesheet it gives
me other errors such as that it does not recognize
call-template and apply-template etc.
Thankyou very much in advance
Desperate Wabei!!!!
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list