LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-09-2009, 07:23 PM   #1
zijian
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Rep: Reputation: 0
Could anyone recommend a library that can parse css file for me?


I am working a software that need to parse some css files, can anyone recommend a scable library for me?
 
Old 02-11-2009, 06:24 AM   #2
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
What should it be able to do? If you're only looking for simple things, it wouldn't be hard to write one by hand. But if you want to cover every nuance of the grammar then that will be a little more difficult. (Even so, I think CSS can be described by fairly simple grammars.)
 
Old 02-11-2009, 06:56 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Perl to the rescue: http://search.cpan.org/~iamcal/CSS-1.08/CSS.pm and associated modules
 
Old 02-14-2009, 11:24 PM   #4
zijian
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you, I will try parsing it by myself
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS - Is there a way to put several lines of HTML into one line using CSS? Chronothread Programming 12 01-05-2011 06:06 AM
Recommend Integrated Library Management System for Ubuntu rozilla Linux - Software 1 06-26-2008 08:31 PM
Compiling library files into another library file. knobby67 Programming 3 04-10-2007 02:07 PM
HTML/CSS/JS: Problem with <p> not having an absolute position with CSS. RHLinuxGUY Programming 7 03-03-2007 12:21 AM
cleaning up CSS file rblampain Programming 2 11-12-2005 11:35 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration