Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iwov_xslt error
madmonkey
TS 6.5
I am trying to use a xsl transform using ‘’ tags from the pt. It transforms well when I have the xml data (as it is) between tags (Case 1). But throws the following error if I give a path to an xml file containing the same data (Case 2). Need help, thanks in advance
Case 1 WORKS FINE :
iw_pt
iwov_xslt file=/xyz.xsl
heading>hi
/iwov_xslt
/iw_pt
Case 2 Errors out :
iw_pt
iwov_xslt file=/xyz.xsl
iw_include file=’/a.xml’ /
/iwov_xslt
/iw_pt
a.xml contains heading>hi
Error:
Preview And Generate Error:
iwov_xslt error:
XalanError:
XSL Warning: Fatal Error at (file /usr1/iw-home/tmp/cci/tst_iwov_xslt_xml_15761, line 3, column 9): The main XML document cannot be empty
XSL Error: Could not parse /usr1/iw-home/tmp/cci/tst_iwov_xslt_xml_15761 document!
XSL Warning: Unknown Exception
:/abc.tpl
Find more posts tagged with
Comments
Adam Stoller
Please learn how to properly format (and verify the formatting) of your posts - it will make it much easier for others to read, and thus more likely for you to get a useful response.
click here for details
Nikunj
Hi,
Check your xml file.
Your main data or root tag should start from third line...
e.g.
1st Line < xml version.....
2nd line < doctype.....
3rdline from here your normal xml file should continue...
Check this; if your xml file does not have second line i.e. < doctype....
add this line in your dct..
< data-capture-requirements
dtd-system-identifier="abcdtd.dtd"
name="abc" >
Hope this help you out..