-
Notifications
You must be signed in to change notification settings - Fork 42
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
extracting attributes using --xml
option results in confusing output with whitespace
#62
Comments
I should probably change that. However, I cannot decide if it should be I wrote Xidel's output first and later implemented a standard
|
My impression is If However I did not know about My workflow:
|
Yes Xidel also has options that
However, it is still correct XML even if it is text rather than an attribute
There is another standard XQuery way, but it is even worse:
I could predefine the |
The only idea I have is to introduce another option like |
When I try to extract the attributes using XPath and
--xml
, I get empty XML output:This behavior is confusing when I browse through an XML file. Does it make sense to extract a pseudo tag element which includes the searched attribute?
For example,
xmllint
outputsattribute="value"
when an attribute is addressed.The text was updated successfully, but these errors were encountered: