Clean and chop Swiss chard into one-inch pieces, including stalks. Rinse well and drain. In a 14-inch saute pan, heat oil until smoking. Add onions, pine nuts, and raisins and cook until softened, about 5 to 6 minutes. Add chard, season with salt, cover pot and cook for 10 to 12 minutes, or until very tender. Drain and cool. Add garrotxa cheese and mix well.
Prheat oven to 400 degrees F.
Roll dough out to 1/4 inch thick and cut into 3-inch squares. Place one tablespoon of filling in center of each square and fold into triangle. Press edges with fork and place on cookie sheet with parchment. Brush with egg and bake 15 to 20 minutes until golden brown. Serve warm.