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="Bjoern Hoehrmann, post: 2025110"] * Pascal wrote in comp.text.xml: The problem is the xmlns='...' attribute you added; in an XML document, the names of elements and attributes have two parts, a namespace name and a local name. In the original XML document you had e.g. an element { '', 'flightlog' } Here the namespace name is '' and the local name 'flightlog'. With the xmlns='' attribute you have changed the element name to { '[URL]http://perso.numericable.fr/~ppascal/msfs/airstar/logbook[/URL]', 'flightlog' } However, the XSLT document is still looking for a { '', 'flightlog' } element, which it does not find. To fix this, you have to either re- move the xmlns attribute or change the XSLT document so its looking for the right kind of element. For the latter you will have to add something like xmlns:p='[URL]http://perso.numericable.fr/~ppascal/msfs/airstar/logbook[/URL]' to the XSLT and then change 'flightlog' into 'p:flightlog', and do the same for all other element types. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
Problem with XSL transformation when changing from DTD to XSD
Top