xml+xsl+xsd
Added by Андрей Бушман over 12 years ago
Hi all. Sorry for my English.
I wrote xml file (license.xml) and created license.xsl for it. When I opened license.xml in browser, then I got correct result. But I wrote license.xsd late. Now my License.xml show incorrect result. Where my mistake (please, look attached zip-file)?
Regards
sample.zip (3.97 KB) sample.zip | my litle sample |
Replies (2)
RE: xml+xsl+xsd - Added by Michael Kay over 12 years ago
Unless I have misunderstood the question, this is nothing to do with Saxon; you are using XSLT in the browser (you don't say which browser).
Your XSLT code isn't working because the XML elements are in a namespace, and your path expressions (for example /license/positions) only select no-namespace elements. To select elements in a namespace, the names must be prefixed.
Please don't use this forum for questions that have nothing to do with Saxon. Two good places for XSLT coding help are (a) the xsl-list at mulberrytech.com, and (b) StackOverflow.
Please register to reply