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

root scope: @this and @root #241

Open
Mouvedia opened this issue Jun 13, 2013 · 0 comments
Open

root scope: @this and @root #241

Mouvedia opened this issue Jun 13, 2013 · 0 comments
Labels
Milestone

Comments

@Mouvedia
Copy link
Member

hss file

@this {
//this should be matched by the root element
property: keyword;
}

@root {
//and this as well obviously
property: keyword;
}

Starting its hss file with @root { might become the norm since * { can be confusing in case you embed another xml document. Even if it's sanboxed, users could understandably think it's matching its siblings as well.

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

No branches or pull requests

1 participant