P
Pascal
Hello,
I am beginner with XML. I have created a XML file with a DTD and a XSL
stylesheet in order to view my data in HTML.
It works.
Then I have tried to setup a XSD instead of DTD and add few type
constraints.
Then I am not any more able to see correct HTML output.
I checked with w3c validator, my XML and XSD files seem to be valid.
I do not understand what's wrong, maybe syntax error in XSL. I do not know
how to validate XSL file.
It seems that I cannot match the nodes.
I tried to include debug statements with child::*, ancestor::*,
descendant::* that told me XLS is able to find a node hierachy.
Thanks for help
Pascal
files are located :
working:
http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps.xml
http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps.dtd.txt
copy of original file pireps.dtd
not working :
http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps2.xml
http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps.xsd
common stylesheet:
http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/xform2.xsl
I am beginner with XML. I have created a XML file with a DTD and a XSL
stylesheet in order to view my data in HTML.
It works.
Then I have tried to setup a XSD instead of DTD and add few type
constraints.
Then I am not any more able to see correct HTML output.
I checked with w3c validator, my XML and XSD files seem to be valid.
I do not understand what's wrong, maybe syntax error in XSL. I do not know
how to validate XSL file.
It seems that I cannot match the nodes.
I tried to include debug statements with child::*, ancestor::*,
descendant::* that told me XLS is able to find a node hierachy.
Thanks for help
Pascal
files are located :
working:
http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps.xml
http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps.dtd.txt
copy of original file pireps.dtd
not working :
http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps2.xml
http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps.xsd
common stylesheet:
http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/xform2.xsl