xsl-list
[Top] [All Lists]

[xsl] xpath query failing

2016-04-22 14:20:49
I am trying to chase down an issue with the Microsoft WIX msi
installation framework. I have some xml such as:

<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd";
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
      throwExceptions="true">
    <!-- ... -->
</nlog>

The selector I am using is "/nlog/@throwExceptions" which is failing and
it appears to be as a result of the default namespace specifier for
"http://www.nlog-project.org/schemas/NLog.xsd";.

I am not clear on how this invalid, but it looks to be more of a restriction
on the parser? Am I overlooking an issue with the actual xml format is
it related just the parser?

Thanks,
jlc
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

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