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

Add childElements convenience method to scala.xml.Elem #3336

Closed
scabug opened this issue Apr 21, 2010 · 2 comments
Closed

Add childElements convenience method to scala.xml.Elem #3336

scabug opened this issue Apr 21, 2010 · 2 comments

Comments

@scabug
Copy link

scabug commented Apr 21, 2010

I'd like a method like this on scala.xml.Elem

def childElements = child.collect { case e: Elem => e }

So that I can save a few keystrokes when I just want the children that are elements, not all of the children.

@scabug
Copy link
Author

scabug commented Apr 21, 2010

Imported From: https://issues.scala-lang.org/browse/SI-3336?orig=1
Reporter: @eengbrec

@scabug
Copy link
Author

scabug commented Jul 17, 2015

@SethTisue said:
The scala-xml library is now community-maintained. Issues with it are now tracked at https://github.com/scala/scala-xml/issues instead of here in the Scala JIRA.

Interested community members: if you consider this issue significant, feel free to open a new issue for it on GitHub, with links in both directions.

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