xsl-list
[Top] [All Lists]

Re: [xsl] xmlns attr for element nodes creating problem with xslt

2007-04-23 04:54:42

Your posted input file was not well formed (last two lines in wrong
order) that's always worrying as it means that your actual problem was
presumably in a different file. Cutting down the posted input is good,
but please check that the posting does show the problem.

If I make your posted input well formed and run the stylesheet you
posted, I get the result that I assume you wanted.


$ saxon rowset.xml rowset.xsl
<?xml version="1.0" encoding="utf-8"?><INDEX version="1.0">
<SCHEMA>AD Design</SCHEMA>
<NAME>AD_FILES_N1I</NAME>
</INDEX><INDEX xmlns:doc="http://xmlns.oracle.com/ku"; version="1.0">
<SCHEMA>AD Design</SCHEMA>
<NAME>AD_FILES_N1I</NAME>
</INDEX>

Your subject line indicated a problem with an xmlns default namespace
declaration, but your posted input did not have any such declaration.
If your real input does, then see the FAQ entry
http://www.dpawson.co.uk/xsl/sect2/N5536.html#d7594e655

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>