 		attrToValue = (body) ->
 			{value} = body
 
-			if body.name is 'document.query'
+			if body.name is 'document.query' and not MODIFIERS_NAMES[body.parent.name]
 				if isBinding(body)
 					throw new Error 'document.query must be a string'
 				if value


# codes = module.exports("""
# Image {
# 	document.query: 'alert'
# 	contentItem: Item {
# 		document.query: '> content'
# 	}
# 	Item {
# 		document.query: 'child'
# 		Item {
# 			document.query: 'deep'
# 		}
# 	}
# }

				return false
			else if value?.type is 'object'
				valueCode = stringify.object value
				# postfix += ", \"#{body.name}\": ((#{valueCode}), new Renderer.Component.Link('#{value.id}'))"
				# return false
				value = "((#{valueCode}), new Renderer.Component.Link('#{value.id}'))"
			else if isAnchor(body)
				value = anchorAttributeToString(body)
			else if isBinding(body)
