Well, in a fem Harry Potter and Xenomorph fanfiction, the interaction between the two universes' magic and technology would be complex. Magic in the Harry Potter world is based on spells, potions, and magical creatures. When faced with the Xenomorphs, it could be used in creative ways. For example, the Imperius curse could potentially be used to control a Xenomorph if the wizard was powerful enough. The Xenomorphs' technology, which seems to be centered around their biology and reproduction, would be something the wizards would struggle to understand at first. But over time, they might find ways to use it. For instance, if they could figure out how to harness the energy that the Xenomorphs use for their attacks, they could power new magical devices.
The magic from Harry Potter's universe might be able to counter the Xenomorphs' physical strength and acidic blood. For example, a simple levitation charm could keep a Xenomorph in the air, away from harming anyone. And in terms of technology from the Xenomorph universe, it could be a mystery for the wizards at Hogwarts. Maybe they would study it to find new ways to defend the school.