Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
XML
Problem with XSL transformation when changing from DTD to XSD
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Pascal, post: 2025109"] 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: [URL]http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps.xml[/URL] [URL]http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps.dtd.txt[/URL] copy of original file pireps.dtd not working : [URL]http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps2.xml[/URL] [URL]http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/pireps.xsd[/URL] common stylesheet: [URL]http://perso.numericable.fr/~ppascal/msfs/airstar/flightlog/xform2.xsl[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
Problem with XSL transformation when changing from DTD to XSD
Top