Is there anything available to parse existing style sheets and convert to the XML format? Would like to populate the style drop down with styles from an existing style sheet.
I was looking for a css parser and only found one called cypress in java. Server side PHP would be sweet
Dustin
I was looking for a css parser and only found one called cypress in java. Server side PHP would be sweet
Dustin
RE: css parser
Hi Dustin,
i wrote a little css parser myself. I hope it will come in handy for you also. Below is the source:
Grtz,
echo " <Styles>";
// now send the styles
echo echo_styles($_GET['css']);
// and close the style tag again
echo " </Styles>";
?>