[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: CSSXX to XML
Dorothy, I have an example of using unparsed-text() and
<xsl:analyze-string> with regular expressions in this
publicly-available set of stylesheets that convert CSV
(comma-separated values) and TSV (tab-separated values) into XML:
http://www.CraneSoftwrights.com/resources/#csv The input is a text file and the output is XML. If I were to write what you need I would start with these files myself and work from there. I hope this helps! . . . . . . . . . . Ken At 2013-03-30 15:03 -0400, Dorothy Hoskins wrote: HI, I have an interesting problem in that I am trying to figure out how to load and process a CSS file to grab content from CSS class definitions and poke them into XML files. In the source XML, which is scraped from XHTML pages, I find images with CSS classes: <img class="frame-3" src="image/file.jpeg" alt="image" /> -- Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|