Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xpath Expresssion Axis Names #33

Open
GoogleCodeExporter opened this issue Apr 11, 2015 · 0 comments
Open

Xpath Expresssion Axis Names #33

GoogleCodeExporter opened this issue Apr 11, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create an XML fragment with an Axis specifier as a node name e.g.
parent, child etc...
2. Create an XSL template with an Xpath Query which selects based on node
name. e.g. <xsl:value-of select="//child"/>
3. The Xpath doesn't output any results and the js method reports no
exception or handled exceptions.

Attached is the source with a HTML page in the test folder. This should
help recreate the fault.

What is the expected output? What do you see instead?
I would expect to see the XSLT to output the result of the xsl:value-of
select when using 'child' in the expression.


What version of the product are you using? On what operating system?
ajaxslt0.8.1, Windows XP SP2, Mozilla Firefox 3.5.5

Please provide any additional information below.
I think the problem is 'child' and 'parent' are considered delimited node
names within an xpath. However they only become delimited when the '::'
double colon is used. Otherwise they should be considred a qualified name
(QName) rather tthan an Axis specifier. 

Original issue reported on code.google.com by srolaw...@hotmail.com on 8 Dec 2009 at 12:10

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant