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

namespaces #24

Open
rickdog opened this issue Apr 15, 2015 · 1 comment
Open

namespaces #24

rickdog opened this issue Apr 15, 2015 · 1 comment

Comments

@rickdog
Copy link

rickdog commented Apr 15, 2015

What can I do the preserve namespaces in the XML entities?

If you look at the result of getting https://raw.githubusercontent.com/mckamey/jsonml/master/jsonml.xslt:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

becomes:

Is there a way to inform YQL not to mess with namespaces?

@rickdog
Copy link
Author

rickdog commented Apr 15, 2015

Found a solution, adjust YQL query thusly:

if (o.dataType == 'xml') 
  query = 'select * from xml where url="{URL}"';

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

No branches or pull requests

1 participant